get_trace
Retrieve spans of one distributed trace in chronological order to inspect the request path. Pair with search_logs using the same trace_id to view spans and log lines together.
Instructions
Get the spans of one distributed trace, in chronological order.
Pair this with search_logs on the same trace_id to see the request path and its log lines together.
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": "get_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | 3 HOURS AGO | |
| trace_id | Yes | Distributed trace id. | |
| account_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |