update_memory
Modify an existing memory by updating only the fields you specify. Correct inaccurate details, adjust importance, or reclassify category without deleting and recreating the entry.
Instructions
Update an existing memory in the local SQLite database. Modifies only the fields you provide — omitted fields are left unchanged. The updated_at timestamp is set automatically. If content is changed, the full-text search index is rebuilt for this memory. Returns the full updated memory object on success, or {success: false, message: 'Memory not found'} if the ID does not exist. Use to correct inaccurate memories, adjust importance, or reclassify a memory's category without deleting and re-creating it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The UUID of the memory to update. Obtain from store_memory, search_memory, or list_memories results. | |
| content | No | Replacement content for the memory. Omit to keep the existing content unchanged. | |
| category | No | New category for the memory. Omit to keep the existing category unchanged. | |
| importance | No | New importance score from 1 (low) to 10 (critical). Omit to keep the existing score unchanged. |