list_salesforce_records
List or search Salesforce records read-only
Description
Contacts, leads, accounts or opportunities from the brand's OWN Salesforce org, most recently changed first, or a search through Salesforce's own index (phone matches however the org typed it). Filters: email (exact, never lags), phone, stage and open (opportunities), status (leads), salesforceOwnerId, salesforceAccountId, updatedSince; converted leads are left out unless includeConverted. fields adds any field by API name; offset pages up to 2,000. Read-only, free. Needs Salesforce connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
objectrequired | "contact" | "lead" | "account" | "opportunity" | contact, lead, account or opportunity |
search | string | |
email | string | |
phone | string | |
stage | string | |
status | string | |
open | boolean | opportunities: only the open ones |
salesforceOwnerId | string | |
salesforceAccountId | string | |
updatedSince | string | YYYY-MM-DD or ISO date-time |
includeConverted | boolean | |
fields | string[] | extra field API names |
limit | number | 1-200, default 25 |
offset | number | 0-2000 |
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/list_salesforce_records.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_salesforce_records","arguments":{"object":"<one of the listed values>"}}}
CLI
hermoso call list_salesforce_records --json '{"object":"<one of the listed values>"}'
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
get_salesforce_recordRead one Salesforce recordcreate_salesforce_recordCreate a Salesforce recordupdate_salesforce_recordUpdate a Salesforce recorddelete_salesforce_recordDelete a Salesforce recorddescribe_salesforce_objectSalesforce fields and picklistslist_salesforce_ownersList Salesforce userslog_salesforce_activityLog an activity in Salesforcesync_leads_to_salesforcePush lead-form leads into Salesforce