read_page
Returns a structured outline of a tab's page elements with roles, names, and ref IDs for clicking, typing, or filling forms; filter interactive controls or include headings, text, and images.
Instructions
Get a structured outline of the page: elements with their role, name and a ref ID to use with click/type/form_input. filter "interactive" (default) lists only buttons, links and inputs; "all" also includes headings, text and images.
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": {
"tabId": "<tabId>"
},
"name": "read_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Only outline the subtree under this element | |
| tabId | Yes | Tab ID, from tabs_list or tab_create | |
| filter | No | ||
| maxChars | No | Output cap, default 40000 |