vm_migrate
Move a Proxmox VM to another node with live or stopped migration, and preview the operation first using a dry run.
Instructions
[WRITE] Migrate a VM to another node. Returns task UPID. Inverse: migrate back.
Asynchronous — poll completion with task_status. Pass dry_run=True to preview.
Args: vmid: Numeric Proxmox VM id. target_node: Destination node name. online: True (default) for live migration; False to migrate while stopped. dry_run: If True, preview without migrating. target: Proxmox target name from config. node: Source node name; omit to auto-locate the VM.
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": "vm_migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| vmid | Yes | ||
| online | No | ||
| target | No | ||
| dry_run | No | ||
| target_node | Yes |