snapshot
Take a snapshot of the current page state, returning a PNG screenshot for browsers or JSON for filesystem, enabling visual verification in browser automation.
Instructions
Capture current state (JSON for filesystem, PNG screenshot for browser)
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>",
"driver": "<driver>"
},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| driver | Yes | Driver alias | |
| session_id | Yes | Session ID |