update_memory
Update an existing memory by merging new details or replacing outdated content. Provide the memory ID and the new text to refine stored information.
Instructions
Merge or replace an existing memory by its ID. Use when a recalled memory is outdated (replace) or when new info adds detail to an existing memory (merge — write the combined sentence as new_content).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User identifier (default: 'root'). | |
| memory_id | Yes | ID of the memory to update (from recall_memory results). | |
| importance | No | You MUST decide this. Re-evaluate importance after the update. (0.0–1.0) 0.9–1.0 — core identity, permanent preferences 0.7–0.8 — strong preferences, recurring patterns 0.5 — regular facts, project decisions 0.2–0.3 — transient context, one-off notes | |
| new_content | Yes | The updated or merged memory text. |