Skip to content

pressKey

Press a special key: BACK (previous screen, Android only), ENTER (submit), HOME (home screen, backgrounding the app), BACKSPACE (delete before the caret), TAB (next field), ESCAPE (dismiss keyboard or modal).

Source

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

Contract

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

Input schema

Required parameters

  • keyCode — enum(BACK | ENTER | HOME | BACKSPACE | TAB | ESCAPE)

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.