Read the page
browser_snapshotRead the whole page as a tree of elements with [ref=...] ids, dialogs first. Actions already return what is on screen; call this for the rest or when the page changed by itself. Up to 20000 characters, full: true 40000.
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 |
|---|---|---|---|
| ref | No | Read only this element. | |
| full | No | Allow up to 40000 characters. | |
| tab_id | No | A result's tab_id. | |
| session_id | No | Only with several sessions. |