Search Second Brain
search_memoriesSearch stored memories from earlier coding sessions to recall past decisions, findings and notes. Filter by project to find the context you need, then read the matching memory.
Instructions
Search the user's Second Brain: decisions, findings and notes kept from earlier coding sessions, across every project or one. Returns up to 30 ranked candidates (any word matches; rarer words, and hits in a title or its English keywords, rank higher; a few synonyms such as PR/pull request, cost/price/spend and decision/rule are matched; typos are tolerated), each with kind, date, project, keywords and a short summary: judge by meaning which ones answer the question, then read one with get_memory. Titles are often in the user's own language, not English, while keywords are English. If nothing fits, rephrase and search again: other words, fewer words, a synonym, the product or component name, or words in the user's language. A memory marked superseded_by is no longer current: the id named replaces it.
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": "search_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return (default 30, at most 50). | |
| query | No | Words to look for. Empty lists the newest memories. | |
| project | No | Keep one project's memories (its name, e.g. the repository folder's name). Omit for all. |