List field selector
k8s_list_field_selectorList Kubernetes resources using field selectors to filter results by matching fields; specify resource type and selector, with optional namespace or context.
Instructions
List resources using field selector.
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": {
"resource_type": "<resource_type>",
"field_selector": "<field_selector>"
},
"name": "k8s_list_field_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | ||
| resource_type | Yes | ||
| field_selector | Yes |