kubectl_events
List recent Kubernetes events, newest first, for a cluster or a single namespace to diagnose pod and node issues.
Instructions
List recent Kubernetes events, most recent first, optionally scoped to one namespace.
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": {
"cluster": "<cluster>"
},
"name": "kubectl_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | Yes | the inventory kubernetes cluster name | |
| namespace | No | namespace to list events in (default: all namespaces) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| cluster | Yes | ||
| namespace | No | ||
| timestamp | Yes |