memory_search
Search stored Markdown memory chunks using keyword, vector, or hybrid retrieval, with optional domain and date filters to find relevant context.
Instructions
Search memory chunks. mode: keyword (FTS5/LIKE, default for short queries), hybrid (keyword + vector RRF fusion, default), vector (pure cosine). Filter by domain/date_range. / 检索记忆正文。mode=keyword(关键字)、hybrid(关键字+向量融合,默认)、vector(纯向量);支持域/日期过滤。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| query | Yes | search query / 检索关键词 | |
| top_k | No | ||
| domain | No | domain filter e.g. web; default */ 域过滤,默认 * | |
| max_chars | No | ||
| date_range | No | e.g. 2026-08 or 2026-08-20 / 日期过滤 | |
| snippet_tokens | No |