List namespaces
k8s_list_namespacesList all Kubernetes namespaces in a cluster, optionally targeting a named context, to inspect available scopes before deploying or managing workloads.
Instructions
List 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_namespaces"
}
}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. |