delete-record
Delete Salesforce records by ID, automatically switching to bulk API for multiple records. Supports single or batch deletions with all-or-none option.
Instructions
Delete records by ID(s) with auto-bulk switching
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": {
"sobjectType": "<sobjectType>",
"recordIds": "<recordIds>"
},
"name": "delete-record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sobjectType | Yes | SObject API name (e.g., Account, Contact, Custom__c) | |
| recordIds | Yes | Record ID(s) to delete | |
| options | No |