babelwrap_snapshot
Retrieve the current browser page state as a structured JSON snapshot without altering the page. Optionally returns a compact version.
Instructions
Get the current page state as a structured snapshot without taking any action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "babelwrap_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The active session ID. | |
| compact | No | If True, return a compact snapshot with minimal whitespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||