Delete Storage
delete_storageDelete a storage volume and its data, preview affected pods before confirming, and block deletion when a user pod still mounts it.
Instructions
Delete a storage volume and all data on it. storage is its pv_name or display name from the storages tool.
With confirm=false (default) it only returns what would be deleted (including pods that still mount it);
call again with confirm=true after the user agreed. Volumes mounted by a user pod are refused (storage_in_use).
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": {
"storage": "<storage>"
},
"name": "delete_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| storage | Yes | ||
| workspace | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||