Delete a Salesforce record
sf_delete_recordDelete one Salesforce record using the object API name and the 15/18-character ID. Blocked unless the destructive-action safety flag is enabled.
Instructions
Delete a single record (DELETE /sobjects/{SObject}/{id}). This is destructive and is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true.
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>",
"id": "<id>"
},
"name": "sf_delete_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The 15- or 18-character Salesforce record Id. | |
| sobject | Yes | API name of the sObject, e.g. "Account", "Contact", or "My_Object__c". | |
| tooling | No | Delete via the Tooling API instead. Default false. |