browser_snapshot
Get visible interactive elements with stable ref IDs after navigation to enable click/fill; filter by role or paginate for large pages.
Instructions
Get visible interactive elements with ref IDs. Use refs with click/fill. Always call after navigation. On large pages (Outlook, dashboards) the response can be truncated — narrow with roles=["button","textbox"] or paginate with offset/limit. Refs stay stable regardless of filters (every visible element is still numbered).
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 (0 = no cap). | |
| roles | No | Only show elements matching these tags/roles/types, e.g. ["button","link","textbox","tab"]. Empty = all. | |
| offset | No | Skip the first N matched elements (pagination). |