create_namespace
Create a new Kubernetes namespace with optional key-value labels for organizing resources.
Instructions
Create a new namespace, optionally with labels.
Args: name: Namespace name. labels: Comma-separated KEY=VALUE pairs (e.g. "env=prod,team=platform"). cluster: Named cluster to target (empty = default).
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": {
"name": "<name>"
},
"name": "create_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| labels | No | ||
| cluster | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |