sf_update_record
Pack: salesforce · Endpoint: https://gateway.pipeworx.io/salesforce/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/sf_update_record for the schema, then POST the same URL with its arguments for the data.
Update an existing Salesforce record by ID. Specify object type and field values to change. Returns success status.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
object | string | yes | SObject type (e.g., “Account”) |
id | string | yes | Salesforce record ID |
fields | object | yes | Field name/value pairs to update |
Example call
Arguments
{
"object": "Account",
"id": "001xx000003DHP",
"fields": {
"Industry": "Finance",
"AnnualRevenue": 5000000
}
}
curl
curl -X POST https://gateway.pipeworx.io/salesforce/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sf_update_record","arguments":{"object":"Account","id":"001xx000003DHP","fields":{"Industry":"Finance","AnnualRevenue":5000000}}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sf_update_record', {
"object": "Account",
"id": "001xx000003DHP",
"fields": {
"Industry": "Finance",
"AnnualRevenue": 5000000
}
});
More examples
{
"object": "Contact",
"id": "003xx000004TM1",
"fields": {
"Email": "[email protected]",
"Phone": "415-555-0200"
}
}
Response shape
| Field | Type | Description |
|---|---|---|
success | boolean | Whether record was updated successfully |
error | string | Error code if update failed |
message | string | Error message if update failed |
Full JSON Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "Whether record was updated successfully"
},
"error": {
"type": "string",
"description": "Error code if update failed"
},
"message": {
"type": "string",
"description": "Error message if update failed"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"salesforce": {
"url": "https://gateway.pipeworx.io/salesforce/mcp"
}
}
}
See Getting Started for client-specific install steps.