browser_snapshot
Capture a page's interactive and landmark elements with CSS selectors for reliable targeting. Use returned refs to click or type.
Instructions
Capture a structured snapshot of the active page: url, title, and the interactive + landmark elements (role, accessible name, value/state, heading level), each with a CSS selector ref. Pass a returned ref to browser_click / browser_type. Caps at 250 elements by default (raise limit for dense pages); truncated:true means the cap was hit. Prefer this over browser_screenshot to find and target elements reliably.
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": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max elements to return (default 250). Raise it for dense pages (large tables / long forms) where the default truncates the snapshot. |