get_trace
Fetch all spans for a given trace ID with their resource service.name to inspect a distributed trace; errors if no spans match and flags truncated results.
Instructions
Return every span belonging to the given trace id, with each span's resource service.name. Errors if no spans match. Truncated=true means the trace exceeded the per-trace span cap and the spans returned are an early prefix.
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_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceId | Yes | Trace id (32-character lowercase hex). |