memory_append
Writes a memory entry: use tier=short for session-scoped recall with a default one-day TTL, or tier=long to persist facts across sessions.
Instructions
写入一条记忆。tier=short 为会话内的短期记忆(默认带一天 TTL),tier=long 为跨会话的长期记忆。
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_append"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | short | |
| extra | No | ||
| content | Yes | ||
| category | No | ||
| expiresAt | No | ||
| sessionId | Yes | platform:scope:id,例如 qq:group:123456 | |
| importance | No |