memory_query
Retrieve top memory matches by keyword search across titles, tags, and summaries, using deterministic ranking without popularity bias.
Instructions
确定性无状态检索:在 id/title/alias/tag/summary 上做关键词匹配,返回按确定性规则排序的 Top-K 候选(命中唯一 ID)。不依赖热度/权重。
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": {
"q": "<q>"
},
"name": "memory_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | 检索关键词 | |
| top_k | No | 返回条数,默认 5 |