RunApiTrace
Run the debuggee and collect API calls into a trace session until max calls, timeout, or exit; then use the trace log for per-call details.
Instructions
Run the debuggee and collect API calls into the given trace session.
Blocks until either max_calls calls are recorded, timeout_ms elapses,
or the debuggee exits. Returns compact summary; use GetApiTraceLog for
per-call details.
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_id": "<trace_id>"
},
"name": "RunApiTrace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | ||
| max_calls | No | ||
| timeout_ms | No | ||
| drain_returns | No |