execute_record_batch
Run up to 100 validated Dynamics 365 record mutations in batched chunks, with preflight checks and per-item results for controlled bulk updates.
Instructions
Execute up to 100 validated record mutations in native $batch chunks. Each operation has its own change set, so a later failure does not roll back earlier operations. Preflights all operations before dispatch, reports per-item outcomes, stops after unknown results and respects request cancellation.
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": {
"operations": "<operations>"
},
"name": "execute_record_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Compatibility alias for dry_run. Conflicting aliases are rejected. | |
| dry_run | No | Read-only preview of environment, target, changes and write blockers. Default false; sensitive fields are masked. | |
| chunkSize | No | Compatibility alias for chunk_size. Conflicting aliases are rejected. | |
| chunk_size | No | Default 25. Every chunk must fit the 10 MiB wire-body limit. | |
| operations | Yes | ||
| continueOnError | No | Compatibility alias for continue_on_error. Conflicting aliases are rejected. | |
| continue_on_error | No | Default false. Continue after known per-item rejection; unknown results always stop future chunks. Native support is not assumed when responses are incomplete. | |
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. |