memory_record
Store a fact worth remembering in long-term memory, so repeated submissions with identical content do not create duplicate records.
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": {
"sessionId": "<sessionId>",
"content": "<content>"
},
"name": "memory_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | semantic | |
| content | Yes | 要记住的事实,一句话 | |
| category | No | ||
| sessionId | Yes | ||
| subjectId | No | 这条事实关于谁(平台号或 self) | |
| importance | No |