fetch_observations
Retrieve spans, generations, and events from Langfuse with filters. Specify observation type for LLM calls or use trace ID to get all observations in a trace.
Instructions
Fetch observations (spans, generations, events) with filters.
Use observation_type='GENERATION' to get LLM calls specifically. Use trace_id to get all observations within a specific trace.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fetch_observations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| page | No | ||
| limit | No | ||
| project | No | ||
| trace_id | No | ||
| to_timestamp | No | ||
| from_timestamp | No | ||
| observation_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||