browser_select_text
browser_select_textSelect text or place the cursor before or after text in an editable element, enabling precise focus and input positioning during browser automation.
Instructions
Select text or place the cursor before or after text in an editable 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": {
"tab_id": "<tab_id>",
"element_id": "<element_id>"
},
"name": "browser_select_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| tab_id | Yes | ||
| frame_id | No | Chrome frame ID inside the tab from browser_get_frames. 0 is the top document, which is the default. | |
| element_id | Yes | Opaque element_id returned by browser_get_interactives. | |
| session_id | No | Session that owns the tab. Pass it on every call so the runtime can refuse a tab another session holds. | |
| session_name | No | Name for this conversation's Chrome tab group, so the tab bar reads as the task instead of a generated id. Sticky: pass it once when the name becomes clear, and again only to rename. | |
| selection_type | No |