list_sessions
Retrieve a list of all active SSH and local terminal sessions, including session IDs and connection details, to discover or resume existing sessions.
Instructions
List all active terminal sessions (SSH and local) managed by this server.
USAGE: Call this to discover or resume existing session_ids. Skip it if you
already hold the session_id you need. To create a session use create_local
or connect_ssh; to close one use disconnect.
Returns a list of dicts, each with:
- session_id: the session's identifier.
- type: 'ssh' or 'local'.
- host, port: the remote endpoint (SSH only).
- shell: the shell executable (local only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |