Skip to content

compose_type

Type into an input, identified by elementId (preferred), testTag, or existingText. Clears the field first unless clearFirst is false.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.compose.driver.tools.ComposeTypeTool

Contract

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

Input schema

Required parameters

  • text — String Text to type.

Optional parameters

  • elementId — String Element ID, e.g. ‘e3’.
  • testTag — String Input testTag.
  • existingText — String Input’s current text, exact whole-text match.
  • element — String Short description of the element, for logs.
  • clearFirst — Boolean Clear the field before typing (default true); false appends.

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.