read_page
Read the whole page as an indented accessibility outline: headings, landmarks, text, and every visible interactive element tagged with a numeric ref like [3], plus its state (disabled, checked, focused, value, href). Cheaper and more stable than find_elements for understanding a full page: one call shows the structure and everything you can act on. Refs stay valid until the next read_page or a navigation. To act on [n], pass the number as a string (e.g. "12" or "@12") directly to click, type_text, inspect, etc.; no ref_selector call is needed.
Example#
Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.
{}Usage notes#
Pass current references directly to selector tools as strings, for example @12. The number is session-specific. Read again after navigation or when a target becomes stale.
Result#
Returns page structure and an accessibility outline with numeric references, control names, and state. Large outlines may be truncated; iframe information is appended when present.
Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
tab | string | No | Tab name or id in your workspace; does not change the visible tab. minLength: 1 |
Full input schema#
The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"tab": {
"description": "Tab name or id in your workspace; does not change the visible tab.",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Related documentation#
Reference conventions · Agent operating guide · Troubleshooting