take_screenshot
Capture a screenshot of the current page in an Electron app to verify visual output during automated testing. Supports saving to a path or capturing the full page.
Instructions
Take a screenshot of current page
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": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| fullPage | No | ||
| sessionId | Yes |