記憶寫入
memory_addStore or update long-term memories with a unique name, concise factual content, and searchable keywords. Enable accurate retrieval and context for future interactions.
Instructions
新增或更新長期記憶。名稱唯一;keywords 供日後檢索觸發。內容應簡潔、去修辭、客觀(角色記憶規範)。
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": {
"name": "<name>",
"content": "<content>"
},
"name": "memory_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 記憶名稱(唯一鍵) | |
| content | Yes | 記憶內容 | |
| keywords | No | 觸發/檢索關鍵字 |