Screenshot the canvas or the app window
screenshotCapture a PNG of the whole page or selected layers, scaled to fit a max size, or grab the app window.
Instructions
PNG of the page (with background) or of the given layers, scaled to fit maxSize (default 1600). window: true captures the app window, a window id that window.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| scale | No | ||
| window | No | ||
| maxSize | No |