browser_text
Extract visible text from a browser tab or specific page element, excluding hidden content and truncating at a set character limit with a note.
Instructions
Visible text of the page or of target; hidden text is left out. Cut at maxChars with a note.
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": {
"tabId": "<tabId>"
},
"name": "browser_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | ||
| target | No | Target. | |
| maxChars | No |