ssh_session_list
Lists active SSH sessions with session ID, server, state, working directory, command count, age, idle time, and variables. Filter by server name (case-insensitive) to focus on a specific host; omit to see all.
Instructions
Lists currently active SSH sessions with their ID, server, state, working directory, command count, age, idle time, and any defined variables. Read-only: it inspects in-memory session state and changes nothing on remote hosts or local config. The optional server argument is a case-insensitive substring filter on server name; omit it to list every active session. Closed sessions are excluded from the results.
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_session_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Filter by server name |