List pods
k8s_list_podsList Kubernetes pods in a specific namespace or across all namespaces, with optional label filtering and context selection.
Instructions
List pods in a namespace, or in every namespace with all_namespaces.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "k8s_list_pods"
}
}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 | ||
| all_namespaces | No | ||
| label_selector | No |