delete_deployment
Remove a Kubernetes deployment and its pods from a target namespace. Use dry_run=True to preview the action without deleting, since this operation is high risk and cannot be undone.
Instructions
[WRITE][risk=high] Delete a deployment and its pods. HIGH RISK — no undo.
Pass dry_run=True to preview without deleting.
Args: name: Deployment name. namespace: Namespace; omit for the target's default namespace. dry_run: If True, preview without deleting. 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": "delete_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No | ||
| namespace | No |