Skip to content

eraseText

Tool eraseText

Description

Erases characters from the currently focused text field. - If charactersToErase is omitted or null, ALL text in the field is erased. - If a number is provided, that many characters are erased from the end. - 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).

Command Class

xyz.block.trailblaze.toolcalls.commands.EraseTextTrailblazeTool

Registered EraseTextTrailblazeTool in ToolRegistry

Optional Parameters

  • charactersToErase: Integer

NOTE: THIS IS GENERATED DOCUMENTATION