disconnect_vdi_session
Disconnect Horizon VDI sessions to preserve user state for reconnection. Preview affected sessions and users before confirming the action.
Instructions
[WRITE] Disconnect Horizon session(s) — state preserved, the user can reconnect.
Less disruptive than logoff. Identify by session_ids OR user. A bare call returns blast_radius (session ids, count, affected users) and changes nothing; confirm=True disconnects. A session whose user 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "disconnect_vdi_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Disconnect all sessions of this AD user (substring match). | |
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True disconnects. | |
| session_ids | No | Session ids to disconnect. |