Recall context
brain_recallRecall relevant memory and linked notes from a shared Second Brain vault before answering questions about past decisions, constraints, research, or project background, within a token budget.
Instructions
Recall relevant memory for a query from the shared Second Brain vault. It finds the best-matching notes (keyword and recency, plus semantic similarity when embeddings are configured), then follows their [[wikilinks]] outward for the requested number of hops, and packs the result into a token budget. Call this before answering anything that earlier work may already cover: past decisions, constraints, research, project background. Read-only. Returns { nodeCount, tokenEstimate, systemPrompt, nodes }: systemPrompt is a ready-to-use context block in which the notes are marked as reference data, not instructions. Use brain_search instead when you only need a ranked list of matching notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hops | No | How many [[wikilink]] steps to follow from the matching notes. 0 = matches only; 1 (default) adds directly linked notes; values above 3 are capped at 3. | |
| query | Yes | What you need to know, in plain words, e.g. "why did we choose SQLite for the cache". Specific queries recall better than broad ones. | |
| maxTokens | No | Token budget for the returned context. Notes that do not fit are left out. Values above 8000 are capped at 8000. |