Memory Recall
memory_recallHybrid recall across memory pillars within the caller's org.
Default scope searches durable pillars only (semantic, episodic,
procedural, skill, strategic, work). Pass scope=["working"] to
include this chat's open session turns. Shared brain on durable
pillars: pass agent="cursor" only to narrow semantic/episodic.
For entity/competitor questions use a short keyword anchor in
query (e.g. "mex") plus repo / github. Use
explain=true; prefer hits with matched_keyword: true.
Default recall is current truth (superseded/merged rows are omitted);
pass include_superseded=true for the replacement chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Max records to return | |
| repo | No | Workspace slug of your current repo. When set, durable memories tagged for this repo are boosted (ranked higher); nothing is hidden — cross-repo and un-scoped memories still appear. Pass your workspace slug when recalling for code/repo-specific work. | |
| agent | No | Optional filter — restrict semantic/episodic results to this agent's writes. Default (None) is the shared brain: every agent's durable memories in the org are visible. Working memory is always scoped to the caller regardless. | |
| query | Yes | Natural-language query | |
| scope | No | Pillars to search. Default (null): durable pillars only (semantic, episodic, procedural, skill, strategic, work) — working is omitted. Add scope=['working'] when you need this chat's open session turns. | |
| github | No | GitHub repository as owner/repo. Boosts memories tagged github:<owner>/<repo> (portable across checkout paths). | |
| explain | No | When true, include per-record retrieval attribution in metadata | |
| filters | No | Optional AND filter. Keys (all optional): kind (fact|preference|event|note|outreach|skill|procedure), pillar (semantic|episodic|procedural|skill|strategic|work), subject (exact, case-insensitive), tags (list; record must include every tag), since / until (ISO datetimes). Example: {"kind": "fact", "subject": "HolderBrief", "tags": ["decision"]}. Nested AND/OR/NOT is not supported — omit a key instead. Empty result retries once without the filter (filter_relaxed=true on the result). Not for named playbook/skill/entity — use get-by-name tools. | |
| verbose | No | When false, truncate record content and omit metadata | |
| time_range | No | Optional time bounds for episodic/working hits | |
| include_superseded | No | When true, also return superseded/merged history. Default is current truth only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||