power_off_vm
Gracefully power off a Nutanix VM for maintenance or decommissioning. Requires environment variable NUTANIX_ALLOW_POWER=true.
Instructions
Transition a VM from On to Off (graceful shutdown). This is an environment-gated operation that requires NUTANIX_ALLOW_POWER=true. Use this when an agent needs to stop a running VM, such as for maintenance, resource consolidation, or decommissioning. Returns an error if the environment variable is not set.
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": {
"ext_id": "<ext_id>"
},
"name": "power_off_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext_id | Yes | The Nutanix extId of the VM to power off |