run_sosl_search
Search across multiple Salesforce objects simultaneously using keywords when you don't know which object contains the data, enabling full-text search across accounts, contacts, leads, and opportunities.
Instructions
Search across multiple Salesforce objects by keyword using full-text search.
Syntax: FIND {search_term} IN ALL FIELDS RETURNING Object1(fields), Object2(fields)
Use SOSL when you don't know which object contains the data, or need to search
across Account, Contact, Lead, Opportunity simultaneously.
Use run_soql_query instead for structured filtering (date ranges, status, owner).
Example: FIND {Acme} IN ALL FIELDS RETURNING Account(Id, Name), Contact(Id, Name, Email)
Wildcards: * (multiple chars), ? (single char). Minimum 2 characters.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": {
"search": "<search>"
},
"name": "run_sosl_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes |