Delete volume
volume_deletePermanently delete a volume and every file stored on it, detaching app volumes first. Irreversible action that requires explicit user confirmation.
Instructions
Permanently delete a volume and every file on it. Without service: a sandbox volume; one attached to a sandbox can't be deleted, so delete the sandbox first. With service: that app's volume; it is detached first and the app restarts without it. Delete an app's volume before deleting its project: a project in trash keeps it for 3 days. Get the user's approval before calling; this cannot be undone.
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": {
"project": "<project>",
"volume": "<volume>",
"confirm": "<confirm>"
},
"name": "volume_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | Yes | Volume name or ID (from volume_list) | |
| confirm | Yes | Set only after the user approves deleting this volume and its files | |
| project | Yes | Project name, slug, or ID | |
| service | No | The app the volume is attached to, to delete an app's volume |