get_ai_trace
Retrieve a detailed span waterfall for a specific AI trace, showing timing, parent-child relationships, and attributes such as model and cache hits.
Instructions
Get the full span waterfall for one AI trace: every span with timing, parent relationships, and attributes (model, cache hit/miss, similarity scores). Use list_ai_traces to find trace IDs.
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": {
"traceId": "<traceId>"
},
"name": "get_ai_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceId | Yes | Trace ID from list_ai_traces |