list_sessions
Lists active and dead SSH sessions to identify those with preserved terminal output for retrieval or cleanup.
Instructions
List all SSH sessions, including dead ones (SSH connection closed but pane not yet cleaned up).
Dead sessions still have their terminal output available via get_snapshot(). Use close_session() to clean them up.
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": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |