List namespaces
list_namespacesList namespaces in a Kubernetes cluster, excluding any not in the configured allowlist.
Instructions
List namespaces in the cluster. Namespaces outside the allowlist are filtered out.
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": "list_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | kube-config context to target (defaults to current-context) |