Update a memory (audit-preserving)
update_memoryCorrect a stored memory by ID while preserving an audit trail: the old value moves to history and the new value becomes active.
Instructions
Correct a memory by id (the #id from list_memories). Audit-preserving: the old value is
retired to history and the new value becomes active — so the change still shows up in history.
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>",
"new_value": "<new_value>"
},
"name": "update_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| user_id | No | default | |
| agent_id | No | ||
| memory_id | Yes | ||
| new_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |