get_call_details
Retrieve comprehensive details for specific Gong.io sales calls, including participants, topics, action items, and trackers, to analyze conversation data and extract insights.
Instructions
Get detailed information about specific calls including participants, topics, trackers, action items, and more.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callIds | Yes | Array of call IDs to retrieve details for |
Implementation Reference
- src/index.ts:173-187 (handler)MCP CallToolRequestSchema handler for 'get_call_details': validates non-empty callIds array from input arguments, invokes GongClient.getCallDetails, formats result as JSON text content.case "get_call_details": { const callIds = args?.callIds as string[]; if (!callIds?.length) { throw new Error("callIds is required and must be a non-empty array"); } const result = await gong.getCallDetails(callIds); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; }
- src/index.ts:73-83 (schema)Input schema definition for the 'get_call_details' tool: requires an object with 'callIds' property as non-empty array of strings.inputSchema: { type: "object", properties: { callIds: { type: "array", items: { type: "string" }, description: "Array of call IDs to retrieve details for", }, }, required: ["callIds"], },
- src/index.ts:69-84 (registration)Registration of 'get_call_details' tool in ListToolsRequestSchema response: includes name, description, and input schema.{ name: "get_call_details", description: "Get detailed information about specific calls including participants, topics, trackers, action items, and more.", inputSchema: { type: "object", properties: { callIds: { type: "array", items: { type: "string" }, description: "Array of call IDs to retrieve details for", }, }, required: ["callIds"], }, },
- src/gong.ts:339-346 (helper)GongClient helper method: sends POST request to Gong API /v2/calls/extensive with filter by callIds to fetch detailed call information.async getCallDetails(callIds: string[]): Promise<CallDetailsResponse> { const body = { filter: { callIds, }, }; return this.request<CallDetailsResponse>('POST', '/calls/extensive', body); }
- src/gong.ts:234-242 (schema)TypeScript interface defining the structure of the response from Gong API for call details.export interface CallDetailsResponse { requestId: string; records: { totalRecords: number; currentPageSize: number; currentPageNumber: number; }; calls: CallDetails[]; }