list_namespaces
Retrieve a list of all namespaces in a Kubernetes cluster by providing the cluster context name. Returns basic namespace information in JSON format.
Instructions
List all namespaces in the Kubernetes cluster.
Args: context_name: The Kubernetes context name
Returns: JSON string containing basic information about all namespaces
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_name": "<context_name>"
},
"name": "list_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_name | Yes |