ssh_list_sessions
List tracked SSH sessions with session ID, target, state, and uptime. Filter by session name or target to locate specific sessions.
Instructions
List tracked SSH sessions with their session_id, session_name, target, state, uptime, and observer details (including tmux_session_name for cross-referencing with tmux ls). Use session_name filter to find a specific named session.
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": "ssh_list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Filter by SSH target. | |
| session_name | No | Filter by session name. | |
| include_exited | No | Include sessions that have exited. Default: true. |