Capture next frame
webgl_capture_frameCapture the next WebGL frame for debugging. Automatically handles connection, readiness checks, and runtime installation, returning a summary and resource URIs.
Instructions
Capture the next WebGL frame. Auto-connects, binds readiness checks, installs runtime if needed. Returns summary + resource URIs (not full JSON).
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_capture_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| canvasId | No | ||
| timeoutMs | No | ||
| canvasIndex | No | ||
| fullCapture | No | Spector fullCapture for richer texture pixels. Defaults true when includeThumbnails=true. | |
| triggerMode | No | next-frame | |
| quickCapture | No | Spector quickCapture. true skips VisualState FBO/canvas screenshots. Defaults false when includeThumbnails=true. | |
| includeCallStacks | No | ||
| includeThumbnails | No | Persist FBO/canvas VisualState screenshots as files under the capture. |