Skip to content

eraseText

Erase characters from the end of the focused text field. To clear the whole field, use clearText instead.

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 — integer Number of characters to erase, counted from the field’s text in the view hierarchy.

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.