mem_update
Update an existing memory's body, tags, or anchor when its content is outdated or incomplete, preserving its id and history.
Instructions
Update the body, tags, or anchor of an existing memory in-place.
USE WHEN a memory exists but its content has become outdated or incomplete. This preserves the memory's id, usage history, and read_count.
For evolving memories that you will update repeatedly, use mem_save with a topic key instead (topic-upsert pattern).
PARAMETERS: id — full memory id to update body — new Markdown content (replaces existing body) tags — new tag list (replaces existing tags) paths — new anchor paths (replaces existing paths) symbols — new anchor symbols (replaces existing symbols)
RETURNS: { id, file_path, updated_fields: string[] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the memory to update | |
| body | No | New Markdown body — replaces the existing body | |
| tags | No | New tags array — fully replaces existing tags | |
| paths | No | New anchor paths — fully replaces existing anchor.paths | |
| author | No | New author handle or email | |
| commit | No | New anchor commit SHA | |
| domain | No | New domain label | |
| symbols | No | New anchor symbols — fully replaces existing anchor.symbols |