vm_delete
Preview a VM deletion's blast radius, then confirm to permanently remove the VM, its disks, and snapshots.
Instructions
[WRITE] Delete a VM and its disks and snapshots (irreversible).
Without confirm=True this only previews: it returns blast_radius (identity, host, disks, total size, snapshot count, blockers) and destroys nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user said "delete" earlier: they have not seen what it destroys yet.
To delete, call again with confirm=True and acknowledge_blast_radius set to the preview's acknowledge_with object, unchanged. The VM is re-measured first; if it changed (another snapshot, a different VM under the same name), nothing is deleted and you must preview again.
Refused outright: a powered-on or suspended VM (power it off with vm_power_off first), a VM whose disks or identity cannot be read, and a name that matches more than one VM. Use vm_set_ttl instead when the VM should only expire later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | vCenter/ESXi target name from config. | |
| confirm | No | False (default) previews; True deletes, with the acknowledgement. | |
| vm_name | Yes | Exact name of the VM to delete. | |
| acknowledge_blast_radius | No | The preview's acknowledge_with object. |