esxi_power_vm
Control VM power states on VMware ESXi with operations for power on, shutdown, power off, reboot, and reset.
Instructions
电源操作:power_on / shutdown(优雅,需Tools) / power_off / reboot_guest(需Tools) / reset。
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>",
"operation": "<operation>",
"expected_name": "<expected_name>"
},
"name": "esxi_power_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| dry_run | No | ||
| operation | Yes | ||
| expected_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |