List DSH sessions
dsh_list_sessionsLists persisted, resumable DSH root sessions newest first, with an optional absolute working-directory filter. Returns summary details and can show sessions still held by the desktop app.
Instructions
List persisted, resumable DSH root sessions from the ACP session/list method (newest first). Optional cwd filter must be an absolute path inside the allowed directories. Returns only sessionId/cwd/title/updatedAt summaries. WARNING: sessions held by the desktop app are also listed (ACP cannot see cross-process activity); visibility does not mean the session is free.
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": "dsh_list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute working directory to filter by (realpath validated). | |
| limit | No | Maximum summaries to return. | |
| cursor | No | Opaque cursor from a previous nextCursor field. |