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.
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. |