get_webinar_details_report
Fetch detailed webinar information from Zoom using the webinar ID. The tool helps retrieve comprehensive data for analysis, reporting, or management purposes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webinar_id | Yes | The webinar ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"webinar_id": {
"description": "The webinar ID",
"type": "string"
}
},
"required": [
"webinar_id"
],
"type": "object"
}
Implementation Reference
- src/tools/reports.js:86-93 (handler)The handler function for the get_webinar_details_report tool. It fetches the webinar details report from the Zoom API using the provided webinar_id.handler: async ({ webinar_id }) => { try { const response = await zoomApi.get(`/report/webinars/${webinar_id}`); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/reports.js:83-85 (schema)Zod schema defining the input parameter webinar_id for the get_webinar_details_report tool.schema: { webinar_id: z.string().describe("The webinar ID") },
- src/server.js:54-54 (registration)Registers the reportsTools array with the MCP server, including the get_webinar_details_report tool.registerTools(reportsTools);
- src/utils/api.js:31-38 (helper)Utility function used by the tool handler to format and return successful API responses.export const handleApiResponse = (response) => { return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }] }; };
- src/utils/api.js:41-50 (helper)Utility function used by the tool handler to format and return API errors.export const handleApiError = (error) => { const errorMessage = error.response?.data?.message || error.message; return { content: [{ type: "text", text: `Error: ${errorMessage}` }], isError: true }; };