upsert-record
Create or update Salesforce records using an external ID field, automatically switching to bulk mode for large datasets.
Instructions
Upsert records using external ID with auto-bulk switching
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": {
"sobjectType": "<sobjectType>",
"externalIdField": "<externalIdField>",
"recordData": "<recordData>"
},
"name": "upsert-record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sobjectType | Yes | SObject API name (e.g., Account, Contact, Custom__c) | |
| externalIdField | Yes | External ID field name for upsert matching | |
| recordData | Yes | Record data to upsert | |
| options | No |