List recent Claude Code sessions
list_sessionsFind past Claude Code conversations across projects: list grouped by directory with title, date, turn count, and id. Optionally filter by project path.
Instructions
List your recent Claude Code conversations across ALL projects, grouped by project directory. Use this to answer 'what sessions have I worked on recently?' or to find a past session before loading it. Returns each session's title, date, turn count, and id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional: only show sessions whose project path contains this substring. | |
| limit | No | Max sessions to list (default 40). |