memory_search
Retrieves a compact index of relevant memories (IDs, summaries, scores) as a first recall stage, allowing efficient selection for detailed retrieval without scanning source files.
Instructions
Stage 1 of two-stage recall (progressive disclosure). Returns a COMPACT index of relevant memories (id + short summary + score) — cheap to scan. Use this first, then call memory_get on the IDs you want, instead of re-reading source files.
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 |
|---|---|---|---|
| query | Yes | What to look for in memory. | |
| top_k | No | Max results (default: 8). | |
| user_id | No | User identifier (default: 'root'). |