list_recent_failures
List recent Kubernetes Job failures across one or all namespaces, newest first, with a synthesized cause and whether the same CronJob later succeeded.
Instructions
List Jobs that failed in the last N hours (one namespace or all), newest first, each with a synthesized cause (e.g. OOMKilled, exit code, image pull, deadline) and whether a later run of the same CronJob has succeeded since. Includes Jobs not created by a CronJob. Use get_failure_details for logs and events of one failure.
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": "list_recent_failures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Look back this many hours | |
| limit | No | Max failures to inspect and return | |
| namespace | No | Namespace to scan; omit for all namespaces |