search_memory
Retrieve relevant passages from your personal knowledge base by asking natural-language questions. Results include file paths, relevance scores, and previews, with optional filtering by source or modality.
Instructions
Search the personal knowledge base for passages relevant to query.
Returns a ranked list of matching text passages with file paths,
relevance scores, and short previews. When ``search.parent_window_chars``
is configured, each hit also includes an ``extended_preview`` with wider
context around the matched chunk.
Args:
query: Natural-language question or phrase.
top_k: Number of results (clamped to 1-50).
mode: ``hybrid`` | ``dense`` | ``sparse``.
source: Optional source name filter.
modality: ``all`` | ``text`` | ``image``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| mode | No | hybrid | |
| source | No | ||
| modality | No | all |