create_namespace
Create a Kubernetes namespace on a configured target; use dry-run to preview changes before creation.
Instructions
[WRITE][risk=medium] Create a namespace. Inverse: delete_namespace.
Pass dry_run=True to preview without creating.
Args: name: Namespace name to create. dry_run: If True, preview without creating. target: k8s target name from config.
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 | ||
| target | No | ||
| dry_run | No |