proxmox_migrate_resource
Migrates a VM or LXC container to another Proxmox VE node, supporting live QEMU migration and restart-based LXC moves while requiring explicit confirmation.
Instructions
Migrate a VM or container to another node (POST /nodes/{node}/{type}/{vmid}/migrate). QEMU supports online (live) migration; LXC uses restart mode. Tier-2 write; requires confirm:true.
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": {
"vmid": "<vmid>",
"target": "<target>",
"confirm": "<confirm>"
},
"name": "proxmox_migrate_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | Container or VM ID to migrate. | |
| wait | No | Block until the task finishes and include its exit status in the result. | |
| online | No | QEMU: live-migrate a running VM (no downtime). | |
| target | Yes | Target node name to migrate to. | |
| bwlimit | No | Bandwidth limit in KiB/s (0 = unlimited). | |
| confirm | Yes | Must be true to write. Tier-2 safe-write gate. | |
| restart | No | LXC: restart-migrate a running container (brief downtime). | |
| wait_timeout | No | Max seconds to wait when wait:true (default 120). | |
| targetstorage | No | Map disks onto this storage on the target node. | |
| with_local_disks | No | QEMU: also migrate local (non-shared) disks. |