logoff_sessions
Terminate user sessions and close running applications to free up VDI resources. Use with caution as unsaved data will be lost.
Instructions
Log off one or more user sessions, terminating their running applications.
CAUTION: This will close all running applications in the session. Unsaved data will be lost. Always confirm with the user before calling this.
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": {
"session_ids": "<session_ids>"
},
"name": "logoff_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forced | No | If true, log off locked sessions. If false, locked sessions are skipped. | |
| confirm | No | Only used when the server runs with HORIZON_CONFIRMATION=flag (clients without elicitation). Otherwise the user is asked to confirm directly in the client. | |
| session_ids | Yes | List of session IDs to log off |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||