List Claude history sessions
list_sessionsRetrieve recent local Claude sessions (Code and Cowork) sorted newest first. Filter by source or project name to quickly review past work or find a session ID.
Instructions
List recent local Claude sessions (Claude Code + Claude Cowork), newest first. Useful for reviewing what you worked on today/this week, or to find a session ID to pass to get_session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| source | No | History source: "code" = Claude Code (~/.claude/projects), "cowork" = Claude Cowork local desktop sessions, "all" = both | all |
| project | No | Case-insensitive substring filter on project path/name or session title |