Detach VM disk
unlink_vm_diskDetach a disk from a VM while keeping the disk file on the storage pool. For migration, use move_vm_disk; to permanently remove, use delete.
Instructions
Detach a disk from a VM (the disk file remains on the storage pool). Use move_vm_disk to migrate; use delete via Proxmox UI to actually remove.
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": {
"node": "<node>",
"vmid": "<vmid>",
"disk": "<disk>"
},
"name": "unlink_vm_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | Yes | Disk identifier (e.g. scsi0) | |
| node | Yes | ||
| vmid | Yes | ||
| force | No | Force-unlink even if disk in use |