Bulk create Salesforce records
sf_bulk_create_recordsCreate multiple Salesforce records in a single API call, with optional all-or-none rollback and automatic batching for larger inputs.
Instructions
Create up to 200 records in one call (POST /composite/sobjects). Each record is a field map. Set allOrNone to true to roll back the whole batch if any record fails. Larger inputs are split into multiple calls automatically.
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": {
"sobject": "<sobject>",
"records": "<records>"
},
"name": "sf_bulk_create_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of field maps, e.g. [{ "Name": "A" }, { "Name": "B" }]. | |
| sobject | Yes | API name of the sObject, e.g. "Account", "Contact", or "My_Object__c". | |
| allOrNone | No | Roll back the entire batch if any record fails. Default false. |