cuemap_recall
Recall evidence from repository memory with natural language queries, returning source metadata and handles for deeper retrieval.
Instructions
Recall evidence for a focused question; follow up with narrower queries as needed. Returns engine JSON with project_id and memory_id handles, source metadata, and requested diagnostics in text and structuredContent. Use handles with cuemap_memory_get when the stored record is needed. Hybrid locally reranks lexical candidates. Start with a small limit and depth 1; enable reconstruction only when surrounding evidence is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cues | No | Normally omit: CueMap generates cues from the query. Supply known tags only to deliberately narrow lexical/hybrid recall, e.g. type:conversation to search tagged conversations. | |
| depth | No | Depth of multi-hop recall. Default is 1. | |
| limit | No | Optional limit on the number of results to return. Default is 10. | |
| query | Yes | The natural language query to search the codebase memory for. | |
| explain | No | Include explain component for debug information in results. Default is false. | |
| projects | No | Optional list of project IDs to scope the search to. Provide multiple for cross-project recall. If not provided, searches the default project. | |
| query_time | No | Optional timestamp or natural-language time anchor used by v0.7 temporal query intent. | |
| trace_timing | No | Include v0.7 timing diagnostics in the response. Default is false. | |
| parent_fusion | No | Parent fusion mode for chunk-parent reconstruction. Default is off. | |
| preview_chars | No | Maximum leading content length per hit in preview mode (100–2000 UTF-16 code units; default 200). Does not cap metadata or diagnostics. Ignored in full mode. | |
| response_mode | No | Default full. Use preview for broad discovery to return only a leading excerpt per hit, with IDs and source metadata. Fetch promising stored memories with cuemap_memory_get; previews are not complete evidence. | |
| semantic_mode | No | Query signal mode. lexical uses cue recall only, semantic uses vector candidate discovery, and hybrid reranks lexical candidates. Default is hybrid. | |
| auto_reinforce | No | Automatically reinforce retrieved memories. Default is false. | |
| expansion_depth | No | Neighbor context expansion. 1 returns the matched chunk; values above 1 include nearby parent chunks or source-ordered context with radius expansion_depth - 1 when linkage exists. Default is 1. | |
| query_embedding | No | Optional precomputed query vector. Use this when the application owns the embedding provider. | |
| min_intersection | No | Minimum intersection count for retrieval. Default is 0. | |
| evidence_coverage | No | Evidence coverage mode for multi-evidence answers. Default is off. | |
| cuebridge_gap_limit | No | Maximum CueBridge gap expansions. Default is 6. | |
| parent_fusion_limit | No | Candidate limit for parent fusion. Default is 80. | |
| ordered_max_sessions | No | Maximum sessions considered for ordered reconstruction. Default is 3. | |
| disable_salience_bias | No | Disable salience bias scoring. Default is false. | |
| ordered_reconstruction | No | Ordered session reconstruction mode. Default is off. | |
| disable_alias_expansion | No | Disable alias expansion during querying. Default is true. | |
| evidence_coverage_limit | No | Result scan limit for evidence coverage. Default is 100. | |
| parent_fusion_min_chunks | No | Minimum sibling chunks required for parent fusion. Default is 2. | |
| ordered_session_scan_limit | No | Per-session scan limit for ordered reconstruction. Default is 4096. | |
| disable_cuebridge_artifacts | No | Disable CueBridge artifact expansion. Default is false. | |
| ordered_reconstruction_limit | No | Result scan limit for ordered reconstruction. Default is 80. | |
| evidence_coverage_max_sessions | No | Maximum sessions considered for evidence coverage. Default is 3. | |
| evidence_coverage_session_scan_limit | No | Per-session scan limit for evidence coverage. Default is 4096. |