list_resources
Discover and list Kubernetes resources of any kind by specifying apiVersion and kind, with optional namespace, label/field selectors, and pagination for read-only cluster inspection.
Instructions
List any Kubernetes resource kind using apiVersion/kind discovery.
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>",
"api_version": "<api_version>",
"kind": "<kind>"
},
"name": "list_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| limit | No | ||
| cluster | Yes | ||
| namespace | No | ||
| api_version | Yes | ||
| continue_token | No | ||
| field_selector | No | ||
| label_selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||