update_memory
Update a stored memory with optional new content, metadata, or importance score while using optimistic locking to prevent conflicts when multiple agents access the same memory.
Instructions
Update a memory with optimistic locking for concurrent agent safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | New content. None = keep existing. | |
| metadata | No | New metadata as JSON string. None = keep existing. | |
| memory_id | Yes | UUID of the memory to update | |
| importance | No | New importance score. None = keep existing. | |
| updated_by | No | Agent making this update. | |
| expected_version | No | Expected version for optimistic locking. None = skip check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||