bulk_create_records
Create many records in one table with a single call, track each created sys_id, and return a rollback token. Enable rollback_on_error for all-or-nothing batches or dry_run to preview payloads.
Instructions
Create many records in one table in a single call, tracking every created sys_id and returning a rollback_token. With rollback_on_error=true, a mid-way failure deletes everything already created so the batch is all-or-nothing. Supports dry_run. Requires WRITE_ENABLED=true.
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": {
"table": "<table>",
"records": "<records>"
},
"name": "bulk_create_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | Run as a background job and return a job_id at once. Poll it with get_job. Calls that take longer than about 20 seconds switch to a job on their own. | |
| table | Yes | Target table | |
| dry_run | No | Preview the resolved payloads without creating anything | |
| records | Yes | Array of field key-value objects to create | |
| rollback_on_error | No | If a create fails, delete the ones already created (default false) |