update
Update an existing memory in-place without losing metadata.
Instructions
Update an existing memory in-place without losing metadata.
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": {
"memory_id": "<memory_id>"
},
"name": "update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New content text (keep empty to keep existing) | |
| reason | No | Why this memory was withdrawn; required with withdraw=true and recorded with the entry. | |
| withdraw | No | Withdraw this memory instead of rewriting it: the text stays, the lifecycle status becomes 'deprecated' and the reason is recorded. Use it to merge duplicates (point superseded_by at the entry that stays) or to retire an entry that no longer holds. Requires reason. | |
| memory_id | Yes | ID of the memory to update | |
| modified_by | No | Who made this modification (e.g. 'agent-a', 'agent-b') | |
| superseded_by | No | Optional: the memory that replaces this one when withdrawing (for merging duplicates). | |
| effective_from | No | Optional ISO-8601 date/datetime: when the updated fact became valid (temporal validity, written to valid_from). Defaults to keeping the existing valid_from. |