read_page
Reads a browser page as an accessibility-style tree and tags interactive elements with [ref_N], enabling accurate targeting for clicks and form inputs.
Instructions
Read the page as an accessibility-style tree. Interactive elements are tagged [ref_N] for use with computer/form_input.
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 |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the active tab of the focused Zen window. | |
| filter | No | 'interactive' lists only clickable/typable elements. | |
| ref_id | No | Only return the subtree under this ref. | |
| max_chars | No |