Remove a volume
remove_volumeDeletes a Docker volume and every file in it after confirmation, supporting cleanup of unused persistent data.
Instructions
Remove a volume and every file in it; can't be undone. The server asks the person to confirm it, naming what goes; if they say no, nothing is done.
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": {
"volume": "<volume>"
},
"name": "remove_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | Yes | The volume's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes |