migrate_guest
Migrate a VM or container to another node in the Proxmox cluster, with live migration to keep it running.
Instructions
Live migrate a VM or container to another node in the cluster.
Args: vmid: The numeric ID of the VM or container to migrate. target_node: Name of the destination node (e.g. 'pve2'). online: Live migration (true, default) or offline (false). Online keeps the guest running. confirm: Must be true to execute. First call without confirm shows a warning.
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_node": "<target_node>"
},
"name": "migrate_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | ||
| online | No | ||
| confirm | No | ||
| target_node | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |