update
Update memory metadata such as tags, weight, and needs_review flag to adjust importance after consolidation or manually. Embedding vector and ID remain unchanged.
Instructions
Update memory metadata — tags, weight, needs_review flag, etc.
Cannot change the embedding vector or id (filtered for safety). Use after consolidation or to manually adjust a memory's importance.
Read-only: no. Mutates memory row in LanceDB.
Args: id: Memory ID to update. fields: Dict of field→value pairs. Allowed: tags, weight, summary, content, needs_review, boost_factor, type, scope. Blocked: embedding, id (silently ignored).
Returns: dict: Updated memory object (embedding excluded), or {'error': 'not found'} if ID doesn't exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Memory ID to update. | |
| fields | Yes | Field→value pairs. Allowed: tags, weight, summary, content, needs_review, boost_factor, type, scope. Blocked: embedding, id. |