read_page
Reads a web page's semantic accessibility tree and assigns stable element reference IDs so controls can be targeted by form, computer, and upload actions.
Instructions
Read the semantic accessibility tree of a web page. Assigns stable element reference IDs (ref_1, ref_2, ...) that can be passed to computer, form_input, or upload_image.
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Maximum DOM/accessibility traversal depth (default 15). | |
| tabId | No | Target tab ID (defaults to active managed tab). | |
| filter | No | "interactive" returns only buttons, links, inputs, and controls; "all" includes structural headings and text nodes. Defaults to "interactive". | |
| ref_id | No | Optional ref ID (e.g., "ref_12") to focus reading on a specific subtree. | |
| max_chars | No | Maximum output length in characters (default 45000). |