session_list
Lists live shell sessions with transport and idle time so you can recover a lost session_id or verify a session is still open before executing commands.
Instructions
List live sessions: [{session_id, transport, idle_secs}]. Use this to recover a session_id you lost track of, or to check whether a session is still open (it may have been closed by exit, a set -e failure, or idle-timeout reaping) before calling session_exec again.
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": "session_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||