Select Text
select_textSelects all text in a UI element or targets a specific UTF-16 character range, enabling precise text editing and clipboard operations.
Instructions
Select all or a UTF-16 range in a text element.
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": {
"target": "<target>"
},
"name": "select_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| text_range | No | ||
| return_state | No | Optionally observe the target again after the action. | none |