read_text
Extract visible page or element text as line-based content up to a character limit, and optionally list HTTP(S) links, so agents can read and verify webpage content.
Instructions
Visible text of the main content, or of selector, as lines up to maxChars; with links, also its links.
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": "read_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | Also list http(s) links (default false). | |
| maxChars | No | Default 8000. | |
| maxLinks | No | Default 50. | |
| selector | No | Locator: ref=e3, CSS, text=…, role=button[name="…"], name=…, or a >> b | |
| sessionId | No |