detect_failures
Detect LLM quality failures by matching failure patterns and zero feedback scores in traces, separating them from code exceptions.
Instructions
Detect LLM output failures using pattern matching and feedback scores.
Finds traces where output contains failure signals ('unable to', 'I can't', 'error occurred', etc.) OR where feedback score = 0.
This catches LLM quality failures, NOT Python exceptions. Use find_exceptions for code errors.
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": "detect_failures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| project | No | ||
| end_date | No | ||
| group_by | No | ||
| start_date | No | ||
| time_range | No | ||
| max_examples | No | ||
| include_examples | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||