search_memory
Recall past work, decisions, and references from any project. Query by natural language or keywords, scope to current or all projects.
Instructions
Search memory across sessions and projects.
Call this whenever the user references past work, a prior decision, or
ANOTHER project — e.g. "in one of my projects we did X", "how did we solve
Y before", "what did we decide about Z", "last time". Use scope='all'
(the default) to recall across every project; scope='current' to stay in
this one. Returns matching past events with their project, content, and
id — the id can be fed straight into log_event's supersedes to retire
a decision you just found to be outdated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. | |
| query | Yes | What to look for, in natural language or keywords. | |
| scope | No | 'current' = this project only; 'all' = every project in memory. | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |