update_memory
Replace a stored fact with its updated version while keeping the old value in history. Use it when an existing memory ID has changed, not for new or unresolved facts.
Instructions
Replace a stored fact with a new version; the old version stays in history.
Use when you already have a fact's id (from search_memory) and the user says it has
changed, e.g. "we moved from Postgres to MongoDB".
Do NOT use to save a new, unrelated fact (use save_memory) or to settle a
needs_resolution result (use resolve_memory).
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>",
"new_content": "<new_content>"
},
"name": "update_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | A memory id returned by an earlier call. | |
| new_content | Yes | The corrected or newer version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| memory_id | Yes | The current version of the fact. | |
| superseded_id | No |