Web Read
web_readReads the current page of a web session so you can reason over it. mode='text' (visible text, default), 'a11y' (compact accessible tree of links/buttons/fields — best for deciding what to click), or 'html' (raw DOM). Returns an explicit no_session error if the session isn't open, and no_page if it hasn't loaded a page — never a silent empty.
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": "web_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to return (default text). | |
| session | No | Session name (default 'default'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| mode | No | The mode that was read (text/a11y/html). | |
| title | No | ||
| content | No | The page content in the requested mode. |