machine_remove
Remove machines from a VMware Horizon pool after reviewing a safety preview. The first call shows the blast radius (machines, users, states); confirming the action deletes instant-clone VMs.
Instructions
[WRITE] Remove machine(s) from their pool — for instant clones this DELETES the backing VM.
A bare call returns blast_radius (machine ids, names, states, assigned users) and removes nothing; confirm=True removes. A machine whose state cannot be read is refused. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True removes. | |
| machine_ids | Yes | Machine ids to remove (from machine_list). |