storeMemory
storeMemoryStore a memory about the user. Use memoryType "short_term" for background context that is only temporarily relevant, like "on vacation until Friday", "preparing for a board meeting on the 15th", or "working towards a deadline next week" — it expires. Use memoryType "institutional" for durable knowledge that stays relevant, like how the user or their organization works, processes, preferences, or long-lived facts. Do NOT use this for requests or tasks (reminders, scheduling); use the appropriate tool for those. Requires the "write" scope.
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": {
"knowledge": "<knowledge>",
"memoryType": "<memoryType>"
},
"name": "storeMemory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Only for institutional memories: a short query describing the topic of this knowledge, used to find and update an existing entry rather than creating a duplicate. If omitted, a new entry is always created. | |
| knowledge | Yes | The memory to store about the user. Be specific and include relevant context. | |
| memoryType | Yes | Whether this memory is time-sensitive context that should expire ("short_term") or durable knowledge worth keeping indefinitely ("institutional"). | |
| expirationDate | No | Only for short_term memories: the date this memory should expire, in ISO 8601 format (YYYY-MM-DD or full ISO date string). Should be shortly after the event/situation ends. Defaults to 7 days from now. Ignored for institutional memories. |