browser_snapshot
Capture a compact snapshot of a page's title, URL, and visible interactive elements, each with a ready-to-use selector or click coordinates, so an AI agent can act on the page accurately.
Instructions
Title, url, and the interactive elements that are actually visible.
Each element carries a selector when one can reach it: pass that string to
browser_click or browser_type VERBATIM rather than writing your own. It is
built to match exactly ONE element, and the driver acts on the first match,
so a caller aiming at the third of five identical links would silently hit
the first and be told it succeeded.
Elements with no selector carry at, the centre coordinates, for
browser_click_at.
Controls inside iframes, cross-origin too, carry frame (pass it with the
selector to any tool) and frame_origin. frames lists each frame and marks
one it cannot read unreadable, or unaddressable when no selector reaches it.
It lists what a caller can act on, and it is not the accessibility tree:
one country <select> would otherwise fill the answer with its options.
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 |
|---|---|---|---|
| browser | No | Defaults to `main`; `support` is the helper beside it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |