memory_update
Replace an existing memory with updated text, refreshing embeddings and metadata while preserving session context; returns old and new memory IDs plus status.
Instructions
Update an existing memory by deleting memory_id and storing new_text with refreshed embeddings and metadata. Returns a JSON object with old_memory_id, new_memory_id, and status.
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_text": "<new_text>",
"session_id": "<session_id>"
},
"name": "memory_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Updated tags for the new memory. | |
| new_text | Yes | The updated memory text. | |
| memory_id | Yes | ID of the memory to replace. | |
| importance | No | Updated importance level (1-10). Default: 5. | |
| session_id | Yes | Session identifier (keep the same as the original if updating in place). | |
| memory_type | No | Updated memory type. Default: 'episodic'. |