get_commands
Retrieve paginated command lists from a WebGPU capture, filtered by method or pass label, with index, arguments, and object details.
Instructions
Return a paginated, base64-stripped slice of a capture's command list. Each entry has its index, method, pass number, object, and arguments.
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": "get_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries to return (default 50, max 500). | |
| method | No | Optional: only commands with this method name. | |
| offset | No | Start index into the (filtered) list. | |
| captureId | No | Capture id (default: most recent). | |
| passLabel | No | Optional regex: only commands inside a render/compute pass whose label matches. |