bulk_create_records
Create many records in a single table call, with rollback support for all-or-nothing batch creation and dry-run preview.
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 |
|---|---|---|---|
| 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) |