Control a Virtual Machine
vm_actionChange Unraid VM run states—start, stop, pause, resume, reboot, force-stop, or reset—with confirmation required and risk acknowledgment for ungraceful actions.
Instructions
Changes a VM's run state. action: start/resume (bring up / un-pause), stop (graceful ACPI shutdown — waits ~10s then force-kills if the guest doesn't respond), reboot (graceful — fails if the guest ignores ACPI within ~10s; use forceStop then start), pause (freeze in memory), or forceStop/reset (⚠ ungraceful hard kill / hard kill-and-cold-boot that can corrupt the guest filesystem). vm accepts a VM name or id from vm_list. Requires confirm: true; forceStop and reset additionally require acknowledge_risk: true. The configured Unraid API key must have VM permission.
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": "<vm>",
"action": "<action>"
},
"name": "vm_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | VM name (exact, case-insensitive) or id from vm_list; pass the id when several VMs share a name. | |
| action | Yes | Run-state change to apply; `forceStop` and `reset` are the ungraceful ones. | |
| confirm | No | Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them. | |
| response_format | No | `detailed` returns full JSON instead of readable text. | concise |
| acknowledge_risk | No | Set `true` only after the user accepts possible guest filesystem corruption; needed for `forceStop` and `reset`, ignored otherwise. |