prepare_batch_write
Validate and preview up to 10 record write actions atomically against a consistent snapshot; execution applies them in order with version checks, and any failure cancels the entire batch.
Instructions
Preview 1–10 existing-record writes atomically; returns one action_id. Each item uses the argument shape documented by prepare_write, its review_ids, decision_reason and optional actual clarification. All reviews are validated against the same initial snapshot. Items then execute in order with version checks; repeated writes to one record must use successive expected_version values. Nothing is changed. Creation and collection changes use the existing single-write discovery workflow. Any failing operation rejects the entire batch with a zero-based item_index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||