Page snapshot
browser_snapshotRead-only
Read the page as an accessibility tree. Interactive elements carry refs for the action tools. Better than a screenshot for acting on the page.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab number from browser_tabs. Defaults to this MCP session's selected tab. An explicit tab updates that selection. A closed selection produces an error; select or open a tab to recover. | |
| max_chars | No | Size limit for the snapshot (default 30000). | |
| viewport_only | No | Only what is on screen, to save tokens. |