get_spans
Retrieve individual spans for a trace to examine input, output, and latency data. Use a project name and trace ID to pinpoint performance details.
Instructions
Get individual spans with input, output, and latency data.
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": {
"project_name": "<project_name>",
"trace_id": "<trace_id>"
},
"name": "get_spans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | Trace ID to fetch spans for | |
| project_name | Yes |