Get Span Details
get_span_detailsRetrieve a single Sentry trace span by trace ID and span ID to inspect its attributes, timing, errors, and child spans; use trace-level details for a full trace overview.
Instructions
Get one span in a Sentry trace by trace ID and span ID: its attributes, timing, errors, and child spans. For a whole-trace overview, use get_trace_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": {
"traceId": "<traceId>",
"spanId": "<spanId>"
},
"name": "get_span_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass cached reads. | |
| spanId | Yes | A span ID in the trace. | |
| traceId | Yes | The 32-character hex trace ID. | |
| regionUrl | No | ||
| organizationSlug | No | The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash. |