get-kubernetes-events
Fetch recent Kubernetes events for a namespace to diagnose deployment failures, OOMKills, or pod scheduling issues.
Instructions
Fetches recent Kubernetes events for a specific namespace, crucial for correlating deployment failures, OOMKills, or pod scheduling issues.
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": {
"namespace": "<namespace>"
},
"name": "get-kubernetes-events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return (default: 50) | |
| namespace | Yes | The Kubernetes namespace to query (e.g., 'production', 'staging') |