smart_recall
Find cached knowledge by meaning, not by keyword. Submit a natural language question and retrieve the most relevant saved context, even if no exact match exists.
Instructions
Semantically search cached context using natural language. Instead of exact key matching, finds context by meaning. Example: smart_recall("how does authentication work") → returns cached auth architecture summary. Falls back to remember_context keys if no semantic match is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query to find relevant cached context | |
| author | No | Handle of the person doing the recall (optional). Enables team-knowledge-reuse tracking: when you recall a lesson written by a teammate, cachly counts it as cross-author reuse — the value only a shared brain delivers. | |
| threshold | No | Similarity threshold 0-1 (default: 0.78) | |
| instance_id | Yes | UUID of the cache instance | |
| context_files | No | File paths you are currently working on (e.g. ["src/auth/service.ts", "src/api/routes.ts"]). When provided, lessons that were learned in the context of these files are boosted in ranking — surfacing file-specific knowledge even when the query does not mention the file name. Pair with author for fully personalized recall. |