move_vm_disk
Move a virtual machine disk to a different storage location or attach it to another VM, with optional deletion of the original disk.
Instructions
Move a VM disk to different storage or attach to another VM.
Args: node: The node name. vmid: The VM ID. disk: Source disk name (e.g. 'scsi0'). storage: Target storage ID (for moving to different storage). target_vmid: Target VM ID (for moving disk to another VM). target_disk: Target disk slot on the target VM. delete_original: Delete the original disk after moving.
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": "move_vm_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | Yes | ||
| node | Yes | ||
| vmid | Yes | ||
| storage | No | ||
| target_disk | No | ||
| target_vmid | No | ||
| delete_original | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |