page_text
Extract the visible text of a web page or a specific element to read its content without taking a screenshot.
Instructions
Return the visible text of the page (or of an element) so the page can be read without a screenshot.
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": "page_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | body | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |