Update memory
updateUpdate an existing memory entry with new content — it keeps its UUID, re-indexes atomically, and the previous text is saved as a version. Existing pins keep their approved snapshot until explicitly refreshed with pin. Use this the moment you learn something changes, improves, or was wrong. Keeping memories accurate is as important as writing them. Always prefer update over rm+write — it is safer and preserves namespace context.
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": {
"entry_uuid": "<entry_uuid>",
"content": "<content>"
},
"name": "update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | New content to store. Becomes the current version; the old text stays in history. | |
| entry_uuid | Yes | UUID of the memory entry to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brain | Yes | ||
| tokens | Yes | ||
| version | Yes | ||
| unchanged | No | ||
| created_at | Yes | ||
| updated_at | No | ||
| next_actions | No | ||
| namespace_path | Yes | ||
| new_entry_uuid | Yes | ||
| old_entry_uuid | Yes |