update
Update an existing memory by modifying its content, context, importance, tags, or metadata while leaving unspecified fields unchanged. Tags and shortcuts are added to the current set, and metadata merges into existing data.
Instructions
Update an existing memory. Accepts the same shape as remember (content / context / importance / tags / metadata / shortcuts), but every field is optional and unset fields are left untouched. Update semantics in v1: tags + shortcuts are strictly ADDITIVE (unioned with existing); explicit metadata deep-merges LAST so callers can clear shortcut-set fields like assigned_to: []. To remove a tag, store the new tag set in metadata or delete + recreate the memory (v2 will add a dedicated replace operation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to ADD to the memory. Strictly additive in v1 — unioned with existing. Cannot remove a tag through this field. | |
| content | No | New content (replaces existing) | |
| context | No | New context (replaces existing) | |
| memoryId | Yes | Memory ID to update | |
| metadata | No | Explicit metadata patch. Deep-merges into existing metadata LAST (after shortcuts), so e.g. { "assigned_to": [] } clears an existing assignment array. | |
| shortcuts | No | Quick-flag shortcuts (additive). Call get_guide({ topic: "concepts/shortcuts" }) for the full flag list and semantics. | |
| importance | No | New importance (0-1) |