fetch_traces
Fetch trace metadata from Langfuse to monitor sessions. Filter by user, project, tags, or time range to get compact details without input/output content.
Instructions
Fetch traces from Langfuse. Returns compact metadata (no input/output content).
For analytical questions (accuracy, failures, costs), use the analytics tools instead. For user queries, use list_user_queries. For keyword search, use search_trace_content. Use fetch_trace(trace_id) to get full details for 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_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | ||
| limit | No | ||
| offset | No | ||
| project | No | ||
| user_id | No | ||
| version | No | ||
| order_by | No | ||
| to_timestamp | No | ||
| from_timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||