salesforce_dml_records
Create, update, delete, or upsert Salesforce records by specifying an operation, object, and record data. Use an external ID for upsert to insert new records or update existing ones.
Instructions
Perform data manipulation operations on Salesforce records:
insert: Create new records
update: Modify existing records (requires Id)
delete: Remove records (requires Id)
upsert: Insert or update based on external ID field Examples: Insert new Accounts, Update Case status, Delete old records, Upsert based on custom external ID
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": {
"operation": "<operation>",
"objectName": "<objectName>",
"records": "<records>"
},
"name": "salesforce_dml_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of records to process | |
| operation | Yes | Type of DML operation to perform | |
| objectName | Yes | API name of the object | |
| externalIdField | No | External ID field name for upsert operations |