sf_upsert_record
Insert or update a Salesforce record using an external ID to avoid duplicates. Reuse safely with the same external ID for reliable sync.
Instructions
Create or update a record identified by an external ID field.
The standard idempotent create-or-update integration pattern: safe to call repeatedly with the same external ID without creating duplicates.
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>",
"external_id_field": "<external_id_field>",
"external_id_value": "<external_id_value>",
"fields": "<fields>"
},
"name": "sf_upsert_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| sobject | Yes | ||
| external_id_field | Yes | ||
| external_id_value | Yes |