get_recent_events
Retrieve recent Kubernetes events for a namespace or pod to identify failure causes like OOMKilled or FailedScheduling.
Instructions
Returns Kubernetes events (Warning and Normal) for a namespace or specific pod, sorted by most recent. Events often reveal the root cause of failures: OOMKilled, FailedScheduling, ImagePullBackOff, Liveness probe failures, etc.
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": "get_recent_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| podName | No | Optional: filter events to only those involving this pod. | |
| namespace | No | Namespace to fetch events from. Defaults to "default". |