Capture N GL commands
webgl_capture_commandsCapture a fixed number of WebGL commands at any stage, without waiting for a frame boundary.
Instructions
Spector startCapture for a fixed command count — capture an arbitrary stage without waiting for a full frame boundary.
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": {
"commandCount": "<commandCount>"
},
"name": "webgl_capture_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| canvasId | No | ||
| timeoutMs | No | ||
| canvasIndex | No | ||
| fullCapture | No | ||
| triggerMode | No | raf-pulse | |
| commandCount | Yes | ||
| quickCapture | No | ||
| includeThumbnails | No |