store_update
Update an existing record's data by ID, preserving audit metadata and returning the record ID on success. Returns an error if the ID does not exist.
Instructions
Replace an existing record's data in-place — same ID, updated_at bumped,
audit metadata retained. Never creates: an unknown ID returns
{error: not_found} (use store_put to create). deviation declares
pattern-departure exactly as in store_put. Returns {id} on success.
Confined to your store_scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| record | Yes | ||
| deviation | No | ||
| record_id | Yes | ||
| collection | Yes |