xo_migrate_vm
Live-migrate an XCP-ng VM to another host by specifying the VM ID and target host ID, keeping workloads running during host moves.
Instructions
Live-migrate an XCP-ng VM to another host.
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": {
"vm_id": "<vm_id>",
"target_host_id": "<target_host_id>"
},
"name": "xo_migrate_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| gateway_id | No | ||
| target_host_id | Yes |