vm_power_off
Hard power off a VM by its extId in Nutanix AIops; preview the self-lockout guard with dry_run before shutdown, then reverse by powering it on.
Instructions
[WRITE][risk=medium] Hard power off a VM (reversible → power-on).
Args:
vm_ext_id: VM extId as returned by vm_list.
dry_run: If True, preview it (runs the self-lockout guard) without powering off.
target: Prism Central target name from config; omit for the default.
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_ext_id": "<vm_ext_id>"
},
"name": "vm_power_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| vm_ext_id | Yes |