Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOGFIRE_BASE_URL | No | The base URL of the Logfire API instance | https://logfire-api.pydantic.dev |
LOGFIRE_READ_TOKEN | Yes | Your Logfire read token for accessing the Logfire APIs |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
find_exceptions | Get the exceptions on a file. Args:
age: Number of minutes to look back, e.g. 30 for last 30 minutes. Maximum allowed value is 7 days. |
find_exceptions_in_file | Get the details about the 10 most recent exceptions on the file. Args:
filepath: The path to the file to find exceptions in.
age: Number of minutes to look back, e.g. 30 for last 30 minutes. Maximum allowed value is 7 days. |
arbitrary_query | Run an arbitrary query on the Logfire database. The schema is available via the `get_logfire_records_schema` tool.
Args:
query: The query to run, as a SQL string.
age: Number of minutes to look back, e.g. 30 for last 30 minutes. Maximum allowed value is 7 days. |
get_logfire_records_schema | Get the records schema from Logfire. To perform the `arbitrary_query` tool, you can use the `schema://records` to understand the schema. |