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 必填语义由服务端强制(不填自动读取)。
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": {
"document_id": "<document_id>",
"operations": "<operations>"
},
"name": "doco_batch_edit"
}
}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 | |||