list_sessions
List Claude Code sessions on your machine, filtering by recency, live status, or project.
Instructions
List Claude Code sessions discovered on this machine — recent ones and which are currently live (running in a tmux pane). Use scope='live' to see only sessions you can reach right now, or pass a project filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | recent = sorted by last activity (default), live = only running sessions, all = everything | |
| project | No | filter by project name or path substring | |
| limit | No |