List resources
k8s_list_resourcesLists Kubernetes resources by API version and kind, returning name, namespace, creation time, and labels to inspect workloads across namespaces or contexts.
Instructions
List objects of any kind as name/namespace/created/labels summaries.
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": {
"api_version": "<api_version>",
"kind": "<kind>"
},
"name": "k8s_list_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | No | ||
| api_version | Yes | ||
| all_namespaces | No | ||
| label_selector | No |