recall
Retrieve relevant memories using semantic vector search, finding related information even when terms differ. Filter results by scope, tags, or source for precision.
Instructions
语义搜索回忆记忆。通过向量相似度匹配,即使用词不同也能找到相关记忆。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 按标签过滤。query+tags 时默认 OR 匹配(任一标签命中即可),仅 tags 时默认 AND 匹配(精确分类浏览) | |
| tier | No | 只搜索指定层级的记忆 | |
| brief | No | 精简模式:true 时只返回 content 和 tags,省略 id/session_id/created_at 等元数据,适合启动加载场景节省上下文 | |
| query | No | 搜索内容(语义搜索,可选) | |
| scope | No | all | |
| top_k | No | 返回结果数量 | |
| source | No | 按来源过滤:manual=项目知识, experience=归档经验。不传则不过滤 | |
| tags_mode | No | 标签匹配模式:any=任一匹配,all=全部匹配。默认智能选择(query+tags→any,仅tags→all) | |
| expand_relations | No | 沿 related 关系扩展 1 跳查找相关记忆 | |
| exclude_superseded | No | 排除已被替代的记忆(已弃用,被替代的记忆现在通过 importance 降权自然排序,不再硬过滤) |