search_opportunities
Search Salesforce opportunities by name, account, and stage, returning results ordered by close date with custom fields included.
Instructions
Search for Salesforce opportunities by name, account, and stage. Returns matching opportunities ordered by close date. Results include both standard and custom fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | No | Exact match for opportunity stage. Common values: "Proposal", "Qualification", "Negotiation", "Closed Won", "Closed Lost". | |
| detail | No | Response detail level (default: summary) | |
| pageSize | No | Number of records per page (default: 25) | |
| pageNumber | No | Page number to retrieve (default: 1) | |
| namePattern | No | Pattern to match in Opportunity Name. Example: "Github" will match "Github Migration" or "My Github Project". | |
| accountNamePattern | No | Pattern to match in Account Name. Example: "Ford" will match opportunities for "Ford" or "Ford Motor Company". |