replay_trace
Replay a captured trace in the background to inspect rendering behavior. Returns a session ID for tracking profiling output and status.
Instructions
Replay a trace in the background (session-based). Returns a session id.
profile: '', 'cpu', 'gpu', 'frames', 'pixels', 'memory', 'calls', 'frame_metrics', or 'draw_metrics'. Profiling output lands in the session log -- poll it with trace_status.
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": {
"trace": "<trace>"
},
"name": "replay_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| trace | Yes | ||
| profile | No | ||
| headless | No | ||
| extra_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||