recall
Fetch relevant memories by query or topic from a persistent store to give AI agents past-session context.
Instructions
Retrieve memories relevant to a query or topic. Returns matching memories from the persistent store. Use this when you need context from past sessions. Results are re-ranked for diversity (MMR, λ=0.7 by default) so near-duplicate memories on a well-covered topic don't crowd out different ones; the top result is always the most relevant. Pass diversity: 0 for pure relevance order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default: 10) | |
| query | Yes | What to search for — topic, keyword, or question | |
| project | No | Scope to a specific project — pass the project you are currently working in. Enforces scope discipline (t-337): memories tagged to a different project are excluded unless their effective scope is global (user/reference by default, or anything written with scope: "global"). Omit to search without project scoping. | |
| category | No | Filter to a specific memory category, or omit for all | |
| diversity | No | MMR diversity 0..1 (default 0.3 = 1−λ). 0 reproduces the plain relevance ranking; higher trades relevance for coverage of distinct memories. |