Salesforce MCP Server

salesforce_dml_records

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

Input Schema

NameRequiredDescriptionDefault
externalIdFieldNoExternal ID field name for upsert operations
objectNameYesAPI name of the object
operationYesType of DML operation to perform
recordsYesArray of records to process

Input Schema (JSON Schema)

{ "properties": { "externalIdField": { "description": "External ID field name for upsert operations", "optional": true, "type": "string" }, "objectName": { "description": "API name of the object", "type": "string" }, "operation": { "description": "Type of DML operation to perform", "enum": [ "insert", "update", "delete", "upsert" ], "type": "string" }, "records": { "description": "Array of records to process", "items": { "type": "object" }, "type": "array" } }, "required": [ "operation", "objectName", "records" ], "type": "object" }