update_memory
Update an existing memory's content or metadata directly using its memory_id, preserving history without reprocessing or deduplication.
Instructions
Update an existing memory's content and/or metadata directly.
REQUIRED: 'memory_id' - the UUID of the memory to update REQUIRED: 'content' - the new content for the memory
OPTIONAL: 'metadata' - new metadata to replace existing (JSON object)
Unlike store_memory with infer=true, this directly updates the specified memory without LLM processing or deduplication. Preserves memory history.
Examples:
Update content: {"memory_id": "abc-123", "content": "Updated preference: Vue over React"}
Update with metadata: {"memory_id": "abc-123", "content": "New content", "metadata": {"priority": "high"}}
Returns: Updated memory details.
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>",
"content": "<content>"
},
"name": "update_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| verbose | No | ||
| metadata | No | ||
| memory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |