vm_migrate
Live-migrate a Nutanix VM to another host, preview the move with dry_run, and revert to the original host if needed.
Instructions
[WRITE][risk=high] Live-migrate a VM to another host (reversible → prior host).
Pass dry_run=True to preview. Tagged risk=high (audit tier 'review');
NUTANIX_AUDIT_APPROVED_BY / NUTANIX_AUDIT_RATIONALE optionally annotate
who/why.
Args:
vm_ext_id: VM extId as returned by vm_list.
target_host_ext_id: Destination host extId (from host_list).
dry_run: If True, preview the migration without performing it.
target: Prism Central target name from config; omit for the default.
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_ext_id": "<vm_ext_id>",
"target_host_ext_id": "<target_host_ext_id>"
},
"name": "vm_migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| vm_ext_id | Yes | ||
| target_host_ext_id | Yes |