k8s_get_namespaces
Retrieve all namespaces in a Kubernetes cluster to identify available namespaces before querying specific resources.
Instructions
List all namespaces in a Kubernetes cluster. Use this to discover available namespaces before querying resources.
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": {
"context": "<context>"
},
"name": "k8s_get_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes |