Get recent session logs
get_recent_logsRead recent session summaries to recover context; uses fresh active work by default, falls back to project-wide history, and supports optional work ID, project-wide, and limit filters.
Instructions
Read recent session summaries. Defaults to the active work when one is fresh; otherwise falls back to project-wide history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_recent_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent log entries to return. | |
| work_id | No | Optional explicit work id filter. | |
| project_wide | No | When true, ignore the active work and read project-wide history. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| entries | Yes | ||
| json_path | Yes | ||
| project_root | Yes | ||
| markdown_path | Yes |