search_memory
Retrieve relevant facts from shared memory using BM25 full-text search, with filters for tag, kind, subject, or scope. Returns current valid entries by default; enable include_expired for audit.
Instructions
BM25 全文检索记忆(中文经 Intl.Segmenter 分词,2 字词可召回)。默认只返回当前有效事实。
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": "search_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | 按单个 tag 过滤 | |
| kind | No | ||
| limit | No | ||
| query | Yes | 检索词(中文/英文/混合) | |
| scope | No | ||
| subject | No | ||
| include_expired | No | 是否包含已失效/软删事实(审计) |