extract_page_text
Fetch any web page and return its readable text, optionally scoped to a CSS selector to isolate specific content for targeted data extraction.
Instructions
Fetches a web page and returns its readable text, optionally scoped to a CSS selector.
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": {
"url": "<url>"
},
"name": "extract_page_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| selector | No | CSS selector scoping the text; defaults to the whole document | |
| max_length | No |