summarize_failures
Group failed Redis Queue jobs by function and exception type to pinpoint recurring errors. Get counts, an example job ID, and failure timestamps for each group.
Instructions
Group a queue's failed jobs by function name + exception type.
Scans up to limit failed jobs (default 200) and returns one
entry per (function, exception type) group: count, an example
job ID, and first/last failure timestamps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"queue_name": "<queue_name>"
},
"name": "summarize_failures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| queue_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||