smart_recall
Returns the fixes, decisions and pitfalls this team already learned for the task at hand. Call it FIRST at the start of every coding task — before reading files or editing — with one line about the task, e.g. smart_recall("fix login redirect loop"). Finds lessons by meaning, not exact words. instance_id may be omitted; the configured instance is used — never guess one. Falls back to remember_context keys if no semantic match is found.
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": "smart_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, 1-20 (default 8). | |
| query | Yes | Natural language query to find relevant cached context | |
| author | No | Who is recalling (optional). Counts cross-author reuse. | |
| threshold | No | Similarity threshold 0-1 (default: 0.78) | |
| instance_id | No | UUID of the cache instance. | |
| context_files | No | Files you are working on, e.g. ["src/auth/service.ts"]. Lessons learned around these files rank higher. |