esxi_power_off
Shut down a VM on ESXi gracefully, with automatic fallback to force power off if the graceful attempt fails.
Instructions
Power off a VM on ESXi. Tries graceful shutdown first, falls back to force
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": {
"device_id": "<device_id>",
"vm_id": "<vm_id>"
},
"name": "esxi_power_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force power off without graceful shutdown (default: false) | |
| vm_id | Yes | VM identifier | |
| device_id | Yes | ESXi host device ID |