get_recent_sessions
Retrieve recent session summaries to restore context and pick up open questions from previous sessions. Read-only.
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 |