memory_search
Search stored memories by vector similarity with keyword fallback; use an empty query to list recent memories and filter by scope or expiration.
Instructions
Search memories with vector search first and keyword fallback. degraded=true means the vector path was unavailable; degrade_reason explains why. An empty query lists recent memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | optional maximum number of hits; defaults to 10 | |
| query | No | optional search text; an empty query lists recent memories | |
| scope | No | optional scope filter; empty means all scopes | |
| include_expired | No | optional; when true, expired memories are included |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| degraded | Yes | true when the vector path was unavailable and results came only from keyword search or the recent list | |
| degrade_reason | Yes | why degradation happened: no_embedder, query_timeout, or vector_error; empty when not degraded |