delete_pod
Delete a Kubernetes pod by name and namespace; set dry_run=True to preview the change before removal. Use for pod cleanup when a controller may recreate it.
Instructions
[WRITE][risk=medium] Delete a pod. No undo — a controller usually recreates it.
Pass dry_run=True to preview without deleting.
Args: name: Pod 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_pod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No | ||
| namespace | No |