Search memory
memory_searchFull-text search across memory, skills and agents. A plain word matches as a prefix (kal finds kaleidoscope), a file whose path or name contains the query is a hit and comes first, and a name with a small typo is found where the database allows it. Quotes and -word switch to exact search. Between equally good matches the more recently changed one ranks first, and a file marked superseded_by in its frontmatter comes after the current ones, with → superseded by . type, project and tag narrow the search to memory files whose frontmatter says so (metadata.type, metadata.project or the sol-{project}-/proj-{project} file name, metadata.tags). Returns the best matches, each with the day it last changed and a short snippet; the snippet only points at a hit, so read the hit itself before answering from it. The index (MEMORY.md) and the history days come after the notes. A memory file is also found by its meaning, in any language, when none of its words are in the query: such a hit is marked meaning, and its snippet is the description or the start of the file, not a match. expand=links adds, under each of the first five, the files, skills and agents it links to and that link to it (← marks those).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only memory files carrying this tag. | |
| type | No | Only memory files of this metadata.type, e.g. solution, project, feedback. | |
| limit | No | How many hits at most, 1 to 50. Default 20. | |
| query | Yes | What to look for. Plain words match as prefixes; quotes and -word switch to exact search. | |
| types | No | Comma-separated subset of memory, skill, agent. Default: all three. | |
| expand | No | links: name the direct links of the first five hits. Default none. | |
| project | No | Only memory files about this project. |