Screenshot canvas now
webgl_screenshot_canvasCapture a screenshot of any WebGL canvas at any stage for visual checks and goal verification. Saves as PNG, JPEG, or WebP to the current session's screenshots folder.
Instructions
Immediate canvas.toDataURL screenshot (not a Spector frame). Useful for any-stage visual checks and goal verification. Saves under the current session screenshots/ folder.
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": "webgl_screenshot_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| quality | No | ||
| canvasId | No | ||
| mimeType | No | ||
| canvasIndex | No |