Screenshot
screenshotCapture a screenshot of the current viewport or full scrollable page, saving it directly to the evidence directory to persist even after session errors.
Instructions
Takes a screenshot and saves it immediately into the evidence directory, so it survives even if the session later errors.
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": {
"sessionId": "<sessionId>",
"name": "<name>"
},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short label for this screenshot, used in the filename | |
| fullPage | No | Capture the full scrollable page instead of just the viewport | |
| sessionId | Yes |