update_memory
Update an existing memory.
Modifies properties of a stored memory by its UUID.
Args:
memory_id: UUID of memory to update
content: New content (optional)
importance: New importance score (optional, 0.0-1.0)
tags: New tags (optional, replaces existing tags)
ctx: MCP context (automatically provided)
Returns:
Dict with success status and updated memory_id
Examples:
>>> await update_memory("uuid-here", importance=0.9)
{'success': True, 'memory_id': 'uuid-here'}
>>> await update_memory("uuid-123", tags=["python", "errors", "important"])
{'success': True, 'memory_id': 'uuid-123'}
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 | ||
| content | No | ||
| memory_id | Yes | ||
| importance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |