migrate_vm
Move a VM from its current node to a target node in a Proxmox cluster, with options for online migration, forcing, and transferring local disks.
Instructions
Migrate a VM to another node
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>",
"target": "<target>"
},
"name": "migrate_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Current node where VM is located | |
| stop | No | Stop VM after migration | |
| vmid | Yes | VM ID | |
| force | No | Force migration (ignore safety checks) | |
| online | No | Online migration (without shutdown) | |
| target | Yes | Target node for migration | |
| stateonly | No | Only migrate VM state | |
| with_local_disks | No | Migrate with local disks |