kubectl_get_pods
List Kubernetes pods across a cluster or within a specific namespace to inspect workloads, validate deployments, and troubleshoot issues.
Instructions
List pods in a Kubernetes cluster, 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_get_pods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | Yes | the inventory kubernetes cluster name | |
| namespace | No | namespace to list pods in (default: all namespaces) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pods | Yes | ||
| cluster | Yes | ||
| namespace | No | ||
| timestamp | Yes |