list_sessions
Lists past AI coding sessions with titles, dates, sources, and projects, returning the session IDs needed to retrieve full conversation details. Filter by source or project path.
Instructions
List available past sessions with their titles, dates, sources and projects.
source: "all" or one of claude, codex, gemini, opencode, cursor. project: optional repository path filter. Returns session IDs needed for get_session.
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 |
|---|---|---|---|
| limit | No | ||
| source | No | all | |
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |