get_recent_sessions
Restore context from previous work by retrieving session summaries with decisions, open questions, and modified files, newest first, to pick up where you left off.
Instructions
Retrieve recent session summaries to restore context. Read-only.
Reads from /data/sessions-{project}.json. Does not modify any data.
Call at the START of every session before any other tools to understand
what was done previously and pick up open questions.
Use save_session_summary() at the END of a session to store context.
Args:
limit: Number of most-recent sessions to return (default: 5, max: 20)
project: Target project name (optional)
Returns:
Timestamped session entries showing summary, decisions, open
questions, and modified files for each session, newest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |