update_memory
Correct a stored memory in place when it is wrong or outdated, editing only the fields you specify and re-embedding the text so search finds the updated version.
Instructions
Correct an existing memory in place.
Use this when a stored memory is wrong — a misremembered decision, a misspelled name, a fact that has since changed. It edits the original record rather than adding a related one, and re-embeds the text so search finds the correction. Only the fields you pass are changed.
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>"
},
"name": "update_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Replacement tags. Omit to keep the current tags. | |
| source | No | Replacement source. Omit to keep the current source. | |
| content | No | The corrected memory text. Re-embeds the memory when changed. | |
| memory_id | Yes | The id of the memory to correct, from a previous store_memory or search_memory call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||