update_memory
Modify an existing memory in place by ID, optionally re-embedding new text or replacing its metadata, so stored vector knowledge stays accurate.
Instructions
Update an existing memory (point) in place under the same ID.
If point_id does not exist, an error is returned (existence is checked
first). When text is given, it is re-embedded and overwrites the stored
text; when text is None the existing text and vector are kept. When
metadata is given (JSON string or object), the payload metadata is
replaced entirely; when left empty ("") the existing metadata is kept.
Passing both text=None and an empty metadata is an error (nothing to
update).
If collection is given, the update happens there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| metadata | No | ||
| point_id | Yes | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |