Skip to content

clearText

Clear all text from the currently focused text field. Use BEFORE inputText when you need to replace whatever’s already in a field (search bar, amount field, form input). Takes no parameters — the tool reads the field’s current length from the view hierarchy.

Prefer this over eraseText whenever your intent is “wipe the field, then type fresh”. Use eraseText only when you genuinely need to remove a specific number of trailing characters (e.g. backspacing one digit off an amount).

Source

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

Contract

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

Input schema

(no parameters)

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.