session_list
List Horizon VDI sessions filtered by user, pool, or state to verify active connections before logoff or disconnect.
Instructions
[READ] List Horizon VDI sessions, filtered by user / pool id / state. Paginated.
Returns a {items, returned, limit, total, truncated, hint} envelope; each item has id, user, type (DESKTOP/APPLICATION), state (CONNECTED/DISCONNECTED/PENDING), protocol (BLAST/PCOIP/RDP), pool_id, machine_id, start_time. This is the verify pair for logoff/disconnect — get a session id or confirm a user's sessions here first.
Args: user: Substring-match the AD user name. pool: Exact desktop-pool / farm id. state: CONNECTED, DISCONNECTED, or PENDING. limit: Page size (default 50). offset: Page offset. target: Horizon target from config.yaml; omit to use the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | ||
| user | No | ||
| limit | No | ||
| state | No | ||
| offset | No | ||
| target | No |