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.
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": {
"name": "<name>",
"updates": "<updates>"
},
"name": "update_entity"
}
}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. |