screenshot
Capture the current Electron page or a chosen element as an image for automated visual testing, UI verification, and debugging.
Instructions
Take a screenshot of current page or an element
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| fullPage | No | ||
| sessionId | Yes |