update_entity
Modify an existing entity's fields in the knowledge graph. Use expectedVersion to avoid overwriting concurrent changes; mismatches trigger a VersionConflictError.
Instructions
η.5.5.c — Update an entity with optional optimistic concurrency control. Pass expectedVersion to assert the live entity is at that version; throws VersionConflictError on mismatch. Omit for legacy last-write-wins. OCC-guarded writes auto-increment version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Entity name to update | |
| updates | Yes | Partial entity object — fields to change | |
| expectedVersion | No | OCC: assert the live entity is at this version. Throws VersionConflictError on mismatch. |