recall
Search stored memories using semantic similarity with adjustable precision and confidence thresholds to retrieve relevant project facts, patterns, or references.
Instructions
Semantic search with confidence gating and composite ranking.
Modes:
'precision': High threshold (0.8), few results (3), prioritizes similarity
'balanced': Default settings, good for general use
'exploratory': Low threshold (0.5), more results (10), diverse ranking
Returns memories with confidence level and hallucination-prevention guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Recall mode: 'precision' (high threshold, few results), 'balanced' (default), 'exploratory' (low threshold, more results) | |
| limit | No | Max results (overrides mode default) | |
| query | Yes | Search query for semantic similarity | |
| threshold | No | Min similarity (overrides mode default) | |
| memory_type | No | Filter by type: project, pattern, reference | |
| include_related | No | Include related memories from knowledge graph for top results | |
| expand_relations | No | Expand results via knowledge graph (Engram-style associative recall). Related memories are added with decayed scores. None uses config default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| guidance | Yes | ||
| memories | Yes | ||
| confidence | Yes | ||
| gated_count | Yes | ||
| context_summary | No | ||
| ranking_factors | Yes | ||
| related_memories | No | ||
| formatted_context | No | ||
| promotion_suggestions | No |