add_memory
Manually add a memory entry (preference, pattern, decision, or context) to persistent storage, enabling AI coding assistants to retain context across sessions.
Instructions
手动添加一条记忆
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": {
"type": "<type>",
"content": "<content>"
},
"name": "add_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 记忆类型 | |
| content | Yes | 记忆内容 | |
| project | No | 项目名称(可选) | |
| confidence | No | 置信度(0-1,默认 0.8) |