list_sessions
Browse and filter recent terminal shell sessions with command counts, time ranges, and tags; paginate or expand rows for directories, duration, executor, and session details.
Instructions
Recent shell sessions with command counts, time ranges and tags. These are terminal sessions, not agent sessions: for work an AI agent did, use find_agent_session (grouped from recorded commands) or list_agent_sessions (captured from the agent's own transcript).
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 |
|---|---|---|---|
| tag | No | Filter by tag name | |
| limit | No | Max rows in this page (default: 10) | |
| detail | No | Add directory, duration, executor and session to each row (default: false) | |
| offset | No | Rows to skip; pass the response's next_offset to page forward |