longPress¶
Press and hold an element by its snapshot ref (e.g. y778 from [y778] “Profile photo”). Use instead of tap when the interaction needs a hold, e.g. a context menu, drag handles, or multi-select.
Source¶
- Kind: class-backed
- Class:
xyz.block.trailblaze.toolcalls.commands.LongPressTrailblazeTool
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¶
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.