search_memory
Retrieves ranked memory items from long-term AI memory using hybrid lexical and vector search. Supports point-in-time queries for factual lookup and technical recall.
Instructions
Searches long-term memory using hybrid FTS5 BM25 lexical and vector cosine similarity with RRF ranking (read-only). Supports Point-in-Time queries via 'as_of'. Use for factual lookup and technical recall. For active high-level board use 'get_current_state'; for fact revisions use 'get_fact_lineage'. Returns ranked list of scored memory items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ISO 8601 timestamp (e.g. '2026-10-15T12:00:00Z') or date ('2026-10-15') for Point-in-Time retrospective queries. Returns only facts that were active and not yet superseded at that specific moment. | |
| limit | No | Maximum number of ranked results to return (1-20). Defaults to 5 when omitted. | |
| query | Yes | Search keywords, error messages, concepts, or questions (e.g. 'Proxmox vzdump backup schedule', 'auth token expiration'). Avoid conversational filler. | |
| userId | No | User or agent namespace to search within. Defaults to 'user_default' when omitted. | |
| history | No | Recent conversation dialogue (e.g. 'User: ... Assistant: ...'). When provided, the internal Query Expander resolves ambiguous pronouns and conversational context into explicit search terms. |