browser_extract
Extract text from web pages by providing a CSS selector for targeted elements or omit the selector to retrieve the entire page text.
Instructions
Read text content from the page. With selector: returns innerText of matching elements. Without: full page text.
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": {
"id": "<id>"
},
"name": "browser_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| selector | No | CSS selector. Omit for whole-page text. |