update_webinar
Modify webinar details such as topic, start time, duration, and settings using the Zoom API. Ensure accurate updates with structured input and proper validation.
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": {
"webinar_id": "<webinar_id>"
},
"name": "update_webinar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agenda | No | Webinar description | |
| duration | No | Webinar duration in minutes | |
| password | No | Password | |
| settings | No | Webinar settings | |
| start_time | No | Webinar start time | |
| timezone | No | Time zone | |
| topic | No | Webinar topic | |
| type | No | Webinar type | |
| webinar_id | Yes | The webinar ID |
Implementation Reference
- src/tools/webinars.js:78-85 (handler)The handler function that performs the PATCH request to update webinar details using the Zoom API.
handler: async ({ webinar_id, ...webinarData }) => { try { const response = await zoomApi.patch(`/webinars/${webinar_id}`, webinarData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } } - src/tools/webinars.js:67-77 (schema)Zod schema defining the input parameters for the update_webinar tool.
schema: { webinar_id: z.string().describe("The webinar ID"), topic: z.string().optional().describe("Webinar topic"), type: z.number().min(5).max(9).optional().describe("Webinar type"), start_time: z.string().optional().describe("Webinar start time"), duration: z.number().optional().describe("Webinar duration in minutes"), timezone: z.string().optional().describe("Time zone"), password: z.string().optional().describe("Password"), agenda: z.string().optional().describe("Webinar description"), settings: z.object({}).passthrough().optional().describe("Webinar settings") }, - src/server.js:48-48 (registration)Registers the webinarsTools array, which includes the update_webinar tool, to the MCP server.
registerTools(webinarsTools);