eraseText¶
Erases characters from the currently focused text field. - Pass the number of characters you want to erase based on the text currently visible in the field (count from the view hierarchy). Pass a large number (e.g. 500) to erase all text when you cannot determine the exact count. - Omit charactersToErase entirely to erase all text in the field. - Use this BEFORE inputText when you need to replace existing text in a field (e.g. a search bar or form field that already has content).
Source¶
- Kind: YAML-defined
- Tool id:
eraseText
Contract¶
- Visible to LLM: yes (
surface_to_llm: true) - Recordable: yes (
is_recordable: true) - Host-only: no (
requires_host: false)
Input schema¶
Optional parameters¶
charactersToErase—integerNumber of characters to erase from the end. Estimate from the field’s current text in the view hierarchy. Omit to erase all text in the field.
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.