sf_update
Update a Salesforce record by ID by providing the object API name, record ID, and fields to change. Only specified fields are updated.
Instructions
Update a Salesforce record by Id (PATCH — only provided fields are changed).
Examples: object="Case" id="500..." fields={Status:"In Progress", Priority:"Critical"} object="Account" id="001..." fields={AnnualRevenue:5000000, NumberOfEmployees:250} object="Contact" id="003..." fields={Title:"VP Engineering", MobilePhone:"+1-555-0100"}
Returns {updated: true} on success.
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": {
"object": "<object>",
"id": "<id>",
"fields": "<fields>"
},
"name": "sf_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | Salesforce object API name | |
| id | Yes | Salesforce record Id | |
| fields | Yes | Field API name → new value pairs |