memory_query_anchors
Retrieve specific story nodes by keyword matching on anchor sub-events, providing targeted recall for plot nodes when main memory query returns low results.
Instructions
锚点层细粒度召回:在事件包的 anchors 子事件锚点上做关键词匹配,返回命中的子事件(包ID + 锚点标题 + 摘要 + 定位 + 分数)。用于故事包/长正文按剧情节点召回——当 memory_query 命中率低时,anchors 往往能把内容词召回(如「幽影核心」「圣保罗之焰」「纽约之战」)。
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_anchors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | 检索关键词(剧情/事件/特征词) | |
| top_k | No | 返回条数,默认 5 |