sessions
List sessions on disk, most recent first, with state, title, last prompt and last activity time. Find a session id after an interrupted open.
Instructions
List sessions on disk, most recent first, with state, title, last_prompt and last_at. Use it to find a session id after an interrupted open.
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": "sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| status | No | OPENING | IDLE | RUNNING | ASKING | QUESTIONING | CLOSED |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessions | Yes |