reset_vdi_machine
Hard-reset VDI desktops only after previewing the blast radius, then confirm to clear stuck machines; unconfirmed calls report affected users and states without changing anything.
Instructions
[WRITE] Hard-reset desktop machine(s) — the user loses unsaved state.
A bare call returns blast_radius (machine ids, names, states, assigned users) and resets nothing; confirm=True resets. 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. For a graceful in-guest reboot use vmware-aiops (the vCenter VM). Audited.
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": {
"machine_ids": "<machine_ids>"
},
"name": "reset_vdi_machine"
}
}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 resets. | |
| machine_ids | Yes | Machine ids to reset (from list_vdi_machines). |