search_calls_by_opportunity
Retrieve calls associated with a CRM opportunity by supplying its ID or a name substring. Requires Gong-CRM integration; unlinked calls won't be returned.
Instructions
Find calls linked to specific CRM Opportunities by ID or name substring. Requires Gong-CRM integration (Salesforce/HubSpot) — calls without CRM linkage will not match. Provide opportunityIds OR opportunityNames (or both).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_calls_by_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| maxCalls | No | Max calls to fetch and filter (default: 500). | |
| toDateTime | No | End date/time in ISO 8601 format. | |
| workspaceId | No | Filter by workspace ID. | |
| fromDateTime | No | Start date/time in ISO 8601 format. | |
| opportunityIds | No | CRM Opportunity IDs (e.g., Salesforce 18-character IDs). | |
| primaryUserIds | No | Pre-narrow by call host user IDs. | |
| opportunityNames | No | Opportunity name substrings (case-insensitive). Matches if the Opportunity Name field contains any of these. |