vm_reboot
Reboot a virtual machine in XCP-ng, choosing a clean guest restart or a forced hard reset. Use dry-run to preview before applying, since the action cannot be undone.
Instructions
[WRITE][risk=medium] Reboot a VM (clean; hard with force). No undo.
A reboot has no meaningful inverse — the prior power state is captured for
the audit record only.
Args:
vm_id: VM uuid (see vm_list).
force: Hard reboot instead of a clean guest reboot.
dry_run: If True, preview without rebooting.
target: Xen Orchestra 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_id": "<vm_id>"
},
"name": "vm_reboot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| vm_id | Yes | ||
| target | No | ||
| dry_run | No |