Doco Batch Edit
doco_batch_editApply up to 100 atomic insert, replace, or delete operations to a document in one all-or-nothing transaction, ensuring version-protected writes.
Instructions
单事务批量编辑(1–100 个操作,全有或全无):operations 为 {op: insert|replace|delete, ...} 数组。base_version 必填语义由服务端强制(不填自动读取)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operations | Yes | Atomic insert, replace, or delete operations. | |
| document_id | Yes | Target document ID. | |
| base_version | No | Document version read before the protected write. | |
| idempotency_key | No | 幂等键,防重试副作用 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||