Delete Pod
delete_podPermanently delete a pod with a preview-first flow: call without confirm to see what would be removed, then confirm to execute. Network storage survives; local volumes are deleted only if listed.
Instructions
Delete a pod permanently. With confirm=false (default) it only returns what would be deleted; call again
with confirm=true after the user agreed. Attached network storage survives; local (hostPath) volumes are deleted
only if listed in delete_local_storages by pv_name or display name on the preview. Confirm with the returned
pod_name and storage ids: a display name is refused with confirm=true.
Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
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": {
"pod": "<pod>"
},
"name": "delete_pod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod | Yes | ||
| confirm | No | ||
| workspace | No | ||
| operation_id | No | ||
| delete_local_storages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||