sf_delete_record
Pack: salesforce · Endpoint: https://gateway.pipeworx.io/salesforce/mcp
Delete a Salesforce record by ID. Specify object type and record ID. Returns success status.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
object | string | yes | SObject type (e.g., “Account”) |
id | string | yes | Salesforce record ID |
Example call
Arguments
{
"object": "Account",
"id": "001xx000003DHP"
}
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_delete_record","arguments":{"object":"Account","id":"001xx000003DHP"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sf_delete_record', {
"object": "Account",
"id": "001xx000003DHP"
});
More examples
{
"object": "Contact",
"id": "003xx000004TM1"
}
Response shape
| Field | Type | Description |
|---|---|---|
success | boolean | Whether record was deleted successfully |
error | string | Error code if deletion failed |
message | string | Error message if deletion failed |
Full JSON Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "Whether record was deleted successfully"
},
"error": {
"type": "string",
"description": "Error code if deletion failed"
},
"message": {
"type": "string",
"description": "Error message if deletion 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.