vm_power
Controls a virtual machine's power lifecycle—start, stop, reset, suspend, pause, or unpause—and supports headless starts with VNC for console automation.
Instructions
Power operations: start/stop/reset/suspend/pause/unpause. For console automation start with gui=false (headless) and VNC enabled; a GUI start forces RemoteDisplay.vnc.enabled=FALSE.
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": {
"vmx": "<vmx>",
"action": "<action>"
},
"name": "vm_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gui | No | Only for action=start. false (default) keeps the console available to VNC. | |
| vmx | Yes | ||
| mode | No | soft = guest shutdown (Tools), hard = power off | |
| action | Yes |