Overview
Features
find_exceptions_in_file
Get details about the 10 most recent exceptions in a specified file, including created_at, exception_type, exception_message, function_name, line_number, attributes, and trace_id. Supports an age parameter to look back over minutes (maximum 7 days).
arbitrary_query
Run an arbitrary SQL query against the Logfire DataFusion database within a lookback window defined by age (in minutes).
logfire_link
Create a direct link to view the specified trace in the Logfire UI using a trace_id.
schema_reference
Return the database schema for the Logfire DataFusion database.
Who Is This For?
- LLMs:Enable language models to query and reason over application telemetry, traces, and Logfire data.
- Developers:Integrate automated telemetry querying and trace analysis into workflows.




