compose_type¶
Type text into a UI input element. Identify the element using its element ID from the view hierarchy (e.g., ‘e3’), or by existing text content. By default this clears the field first. Set clearFirst to false to append text instead.
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—StringThe text to type into the element.
Optional parameters¶
elementId—StringElement ID from the view hierarchy, e.g., ‘e3’. Preferred method.testTag—StringAccessibility identifier of the input element.existingText—StringThe existing text content of the input element.element—StringHuman-readable description of the element being typed into, for logging.clearFirst—BooleanIf true (default), clear the field before typing. If false, append to existing text.
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.