memory_search
Search shared project and user memories using keyword and optional semantic ranking; omit the query to browse recent entries and filter by project, scope, kind, tags, or status.
Instructions
检索记忆(词法全文 + 可选语义向量混合排序)。query 可省略以浏览最近记忆。在 project 指定的项目内检索(HTTP 模式必须传 project),并合并用户级记忆,命中带 scope 标注。命中字段:score 是本次查询内的融合排序分(0..1,跨查询不可比);relevance 是绝对相关性(语义余弦原值,纯词法命中为 null);matched 标明命中来源(semantic/lexical/both);semanticScore 保留为兼容字段。total 是过相关性门槛后的命中数,scanned 是参与语义扫描的向量数。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| tags | No | ||
| limit | No | ||
| query | No | 检索词;省略则按时间浏览 | |
| scope | No | 限定作用域层:user/project/device/agent;默认全作用域(含用户级) | |
| offset | No | ||
| status | No | 默认 active | |
| project | No | 项目名或 id。省略时从当前工作目录自动解析 |