update_record
Merge partial updates into an existing record using the expected version to prevent conflicts. Returns a review-required status as a legacy write.
Instructions
Legacy direct write: returns REVIEW_REQUIRED; use prepare_write/commit_write. Shallow-merge top-level data fields: omitted keys remain, null is stored. Supply the retrieved version; VERSION_CONFLICT requires fresh context, never a blind retry.
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": {
"record_id": "<record_id>",
"changes": "<changes>",
"expected_version": "<expected_version>"
},
"name": "update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| record_id | Yes | ||
| expected_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||