recent_sessions
List recent Claude Code and Codex sessions to find and resume work after closing a terminal.
Instructions
List Claude Code / Codex sessions with activity in the recent window — useful when you accidentally closed a terminal and want to resume. To resume: cd into the project dir and run claude --resume (or codex resume).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| within_hours | No | ||
| limit | No |