delete_salesforce_record
Delete a Salesforce record destructive
Description
Delete one Salesforce record; it goes to the org's Recycle Bin for 15 days. Without confirm:true nothing is deleted and you get the record it would delete; call again with confirm:true only after the user says yes. Free. Needs Salesforce connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
idrequired | string | the record id |
object | "contact" | "lead" | "account" | "opportunity" | contact, lead, account or opportunity |
confirm | boolean | true only after the user said yes |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/delete_salesforce_record.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_salesforce_record","arguments":{"id":"<string>"}}}
CLI
hermoso call delete_salesforce_record --json '{"id":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
update_salesforce_recordUpdate a Salesforce recorddescribe_salesforce_objectSalesforce fields and picklistscreate_salesforce_recordCreate a Salesforce recordlist_salesforce_ownersList Salesforce usersget_salesforce_recordRead one Salesforce recordlog_salesforce_activityLog an activity in Salesforcelist_salesforce_recordsList or search Salesforce recordssync_leads_to_salesforcePush lead-form leads into Salesforce