update_memory
Correct or annotate an existing memory by ID, updating content, tags, salience, metadata, or media reference while preserving omitted fields and sensory context.
Instructions
Correct or annotate an existing memory by id: its content, tags, salience, metadata or media_ref; omitted fields stay as they are, and tags/metadata are replaced, not merged. Use it when the user corrects a detail or when a memory turns out to matter more or less than first thought. The sensory context (when and where it happened, what was sensed) cannot be edited, because it records the moment of encoding; to change that, forget the memory and remember it again. If the content changes, text matching follows the new content. Returns the updated memory as JSON.
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_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | New tags; replaces the current list. Omit to keep them. | |
| content | No | New text of the memory. Omit to keep the current one. | |
| metadata | No | New string key/value annotations; replaces the current ones. | |
| salience | No | New significance, 0 (trivial) to 1 (life-changing). Omit to keep. | |
| media_ref | No | New pointer (URI/path) to related media; never opened. | |
| memory_id | Yes | The memory's id (e.g. 'mem_0189a3f2c1d4_9f3c2a7b1e'). |