Skip to content

tap

Tap an element by its ref ID from the snapshot. Use the short hash ref shown in square brackets (e.g., y778 from [y778] “Network & internet”). These refs are stable across captures of the same screen.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.toolcalls.commands.TapTrailblazeTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: no (is_recordable: false)
  • Host-only: no (requires_host: false)

Input schema

Required parameters

  • refString The element ref from the snapshot (e.g., ‘y778’)

Optional parameters

  • longPressBoolean Set to true for a long press instead of a tap.
  • reasoningString

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.