get_trace
Retrieve all spans of a single trace ordered by start time. Provide trace ID and start time to inspect the complete execution flow.
Instructions
Get every span of a single trace, ordered by start time
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>",
"start_time": "<start_time>"
},
"name": "get_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream | No | Trace stream name | default |
| end_time | No | ISO timestamp. Defaults to now. | |
| trace_id | Yes | The trace ID to retrieve | |
| start_time | Yes | ISO timestamp, or relative shorthand like '15m', '2h', '7d' |