Get Live Kubernetes Events
get_eventsFetch live Kubernetes events for a cluster or namespace, newest first, to quickly check current warnings before they age out of the API server.
Instructions
Fetch live Kubernetes API events currently retained by the cluster, ordered newest-first.
Returns cluster_id, namespace, count, and items (capped by limit, 1-500, default 100). Reflects only events still live in the cluster API server (typically ~1 hour before Kubernetes garbage collection). Omit namespace for cluster-wide events.
Use for quick checks of current cluster or namespace warnings. Prefer get_extended_events when investigating older incidents that may have aged out of Kubernetes' 1-hour event TTL or when you need warning_count/normal_count statistics, or get_audit_logs for KubeOrbit portal audit entries.
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_id": "<cluster_id>"
},
"name": "get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of live Kubernetes events to return, ordered newest-first (1-500, default 100). | |
| namespace | No | Optional Kubernetes namespace name (1-63 chars) to scope results to a single namespace. Omit or pass null to query across all namespaces in the cluster. | |
| cluster_id | Yes | Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of live events returned. | |
| items | No | Live Kubernetes events ordered newest-first with type (Normal/Warning), reason, message, involved object, count, and timestamps. | |
| namespace | No | Scoped namespace, or null when cluster-wide. | |
| cluster_id | No | Cluster identifier queried. |