recent_context
Retrieve recently updated notes, including handoff notes, without a search query to see where you left off when resuming a session or after context compaction.
Instructions
Query-free session bootstrap: the most recently updated notes.
Call this FIRST when starting a new session or resuming after a context
compaction, when you do not yet know what to search for. Returns notes
ordered by recency (newest first), NOT by relevance — including
handoff notes (episodic tier), which a plain semantic_search hides by
default. This is the reliable "where did I leave off" entry point.
scope: 'project' (default), 'global', or 'hybrid'. Use 'hybrid' to also surface promoted cross-project knowledge. tier_filter: defaults to all tiers (so handoffs are included). Pass e.g. ["durable"] to exclude episodic session notes. format: 'json' (default); 'text' — compact plain text, one line per note with its hydrate handle (about 20% of the JSON size); 'hook' — the same text as Claude Code SessionStart hook output. Use 'hook' from a SessionStart mcp_tool hook: Claude Code shows the model only an mcp_tool hook's JSON additionalContext, never its plain text.
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": "recent_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| scope | No | project | |
| format | No | json | |
| tier_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||