shutdown_vm
Gracefully shut down a running virtual machine by sending an ACPI shutdown signal to the guest OS, enabling a clean power-off without data loss.
Instructions
DESTRUCTIVE: Gracefully shut down a running virtual machine.
Sends an ACPI shutdown signal to the guest OS. The VM must have guest tools or ACPI support for this to work. Use force_shutdown_vm if the guest is unresponsive.
Args: vm_id: The VM identifier confirm: Must be true to execute. Returns a preview otherwise.
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": "shutdown_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |