dsh_list_sessions
List Harness sessions newest first to find a session_id and inspect title, workspace, update time, running state, bridge runs, and model. Filter by workspace or query; archived sessions are excluded.
Instructions
List Harness sessions, newest first, to find a session_id: session_id, title, cwd, updated_at, running, bridge_runs and model (what its next request uses). No paging: raise limit or narrow it with cwd or query. Read-only. Sessions not in dsh_list_sessions are archived or gone: do not look for them on disk.
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 | Only sessions of this workspace folder | |
| limit | No | Max sessions returned | |
| query | No | Case-insensitive text to match in title, folder or session id | |
| include_subagents | No | Also list sub-agent sessions |