k8s_get_resources
List Kubernetes resources of any kind from a specified cluster, with optional namespace filtering. Auto-detects API group for common kinds; supports custom group and version for CRDs.
Instructions
List Kubernetes resources of a specified kind (e.g., Pod, Deployment, Service, Ingress). Common kinds auto-detect their API group. For custom resources, specify group and version. Omit namespace to query across all namespaces.
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": {
"context": "<context>",
"kind": "<kind>"
},
"name": "k8s_get_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| group | No | ||
| context | Yes | ||
| version | No | ||
| namespace | No |