get_trace
Fetch a complete trace by ID from CubeAPM to inspect all spans and full details for debugging service errors or latency.
Instructions
Fetch a complete trace by its ID from CubeAPM. Returns all spans in the trace with full 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>",
"start": "<start>",
"end": "<end>"
},
"name": "get_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End timestamp in RFC3339 format or Unix seconds | |
| start | Yes | Start timestamp in RFC3339 format or Unix seconds | |
| trace_id | Yes | The hex-encoded trace ID to fetch |