get_selection
Retrieve selected text from a Chrome tab. Optionally specify the tab ID to target a specific page.
Instructions
Return the selected text from a Chrome tab.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Optional Chrome tab id. Defaults to the first page tab. |