fetch_trace
fetch_traceRetrieve detailed Langfuse trace data including observations, payloads, metadata, and performance metrics for LLM application analysis and debugging.
Instructions
Returns the full detail of a single Langfuse trace identified by its ID.
The response includes all observations (spans, generations, events) nested under the trace, as well as input/output payloads, metadata, tags, latency, and token usage.
Use this after fetch_traces to drill into a specific trace. The traceId is required.
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": "fetch_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceId | Yes | The Langfuse trace ID (UUID). Required — the call will be rejected if this is missing or blank. |