Delete Storage
delete_storageDelete a storage volume and all its data, with a preview before confirmation. Refuses volumes in use by a pod, so you can verify what will be removed first.
Instructions
Delete a storage volume and all data on it. storage is the pv_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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| storage | Yes | ||
| workspace | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||