browser_snapshot
Capture the page's accessibility tree to get interactive elements with reference IDs for clicking, typing, and selecting. Use this before any action to understand the page.
Instructions
Capture the page's accessibility tree — the PRIMARY way to understand pages.
Returns interactive elements with [@eN] ref IDs for use with browser_click, browser_type, browser_select, browser_drag, etc. Call this BEFORE interacting with a page.
full=False (default): interactive elements only — compact and fast. full=True: includes surrounding text content for reading context.
This is FASTER, CHEAPER, and MORE RELIABLE than screenshots. Always prefer this over browser_screenshot for deciding what to click.
Args: page_id: Target page ID from browser_launch or browser_new_page. full: Include text content alongside interactive elements. max_length: Max characters to return (default: 12000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| full | No | ||
| max_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||