Summarize a capture
capture_summaryReads a Metal .gputrace capture without Xcode to inspect command buffers, encoders, draws, debug groups, and the top 100 call IDs by frequency.
Instructions
Reads a Metal .gputrace capture without Xcode: command buffers, encoders, draws, debug groups, and the 100 most frequent call ids out of calls_total.
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": {
"capture": "<capture>"
},
"name": "capture_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | result paths to keep, dotted: common.frame_pacing | |
| capture | Yes | a .gputrace bundle inside METAL_TRACE_OUT or METAL_TRACE_READ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||