find_exceptions
Get exception counts grouped by file, function, or type. Specify the lookback period in minutes to identify error hotspots.
Instructions
Get exception counts grouped by file path, function, or type.
Args:
ctx: Context object containing lifespan context with Langfuse client
age: Number of minutes to look back; capped by the configured maximum
group_by: How to group exceptions - "file" groups by filename, "function" groups by function name,
or "type" groups by exception type
Returns:
List of exception counts grouped by the specified category (file, function, or type)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Number of minutes to look back (positive integer, max 7 days/10080 minutes) | |
| group_by | No | How to group exceptions - 'file' groups by filename, 'function' groups by function name, or 'type' groups by exception type | file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||