delete_namespace
Deletes a Kubernetes namespace and all resources inside it using a specified context.
Instructions
Delete a namespace and all resources within it.
Args: context_name: The Kubernetes context name namespace: The name of the namespace to delete
Returns: JSON string containing the result of the operation
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>",
"namespace": "<namespace>"
},
"name": "delete_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| context_name | Yes |