read
Extracts a compact list of interactive elements, refs, and headings from browser pages, with tree/all/text/find modes and offset pagination for navigation and inspection.
Instructions
Page as compact list: interactive elements with refs (e5) + headings. mode: tree (default) | all (adds text) | text (plain text) | find (q: words or css:selector). Paginate with offset.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| max | No | max chars (4000) | |
| ref | No | only this subtree | |
| tab | No | ||
| mode | No | ||
| offset | No |