Search memory with filters
searchFind stored memories by natural-language query with metadata filters, tags, and ranking controls; returns ranked text previews for fuller retrieval.
Instructions
Find memories with metadata filters or ranking controls; use recall for simpler full-text answers. Read-only. Results contain text previews and relative ranking scores, not probabilities; use get to read a result in full. Semantic scores require a configured model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Maximum number of ranked previews to return. | |
| tags | No | Labels; filters match memories carrying every listed tag. | |
| query | Yes | Natural-language phrase to match against stored memories; nonblank, at most 4,096 UTF-8 bytes. | |
| filter | No | Exact-match filter on top-level metadata keys. | |
| fusion | No | How to combine lexical and semantic ranks: weighted score blend or reciprocal rank fusion. | |
| min_score | No | Drop hits below this relative rank score (0 to 1); this is not a probability. | |
| lexical_weight | No | Weight for lexical BM25 ranking before fusion, from 0 to 100. | |
| semantic_weight | No | Weight for model-based semantic ranking before fusion, from 0 to 100; requires a configured model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of returned hits. | |
| results | Yes | Ranked hits with text previews and score details. |