assertVisible¶
Assert an element is visible by its snapshot ref (e.g. y778 from [y778] “Network & internet”). Checks the current snapshot only; it does not wait for an element to appear. Set expectedText to also check its text when verifying a specific value.
Source¶
- Kind: class-backed
- Class:
xyz.block.trailblaze.toolcalls.commands.AssertVisibleTrailblazeTool
Contract¶
- Visible to LLM: yes (
surface_to_llm: true) - Recordable: no (
is_recordable: false) - Host-only: no (
requires_host: false)
Input schema¶
Required parameters¶
ref—StringElement ref from the snapshot, e.g. ‘y778’.
Optional parameters¶
expectedText—StringThe element’s exact rendered text (trimmed, case-sensitive), e.g. “Charge $5.00”. Don’t pin text that changes run to run (counts, timestamps). Omit to check presence only.reasoning—String
Output¶
Returns: string (opaque text content)
Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.