Select text in element
element_select_textSelect text within an element's value or place a caret without focus changes or keystrokes, and return the selection read back.
Instructions
Select text inside an element's value (or place a caret) without focus change or keystrokes; returns the selection read back. macOS backend.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ref": "<ref>",
"text": "<text>"
},
"name": "element_select_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from ax_tree/ax_find, e.g. "e12". | |
| text | Yes | Text to select. | |
| prefix | No | Text directly before. | |
| select | No | "text" (default), "start" or "end". | |
| suffix | No | Text directly after. |