update_webhook
Modify existing webhooks in the Zoom API MCP Server by updating URL, event types, authorization header, description, or status for streamlined event management.
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": {
"webhook_id": "<webhook_id>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| authorization_header | No | Authorization header | |
| description | No | Webhook description | |
| event_types | No | Event types to subscribe to | |
| status | No | Webhook status | |
| url | No | Webhook URL | |
| webhook_id | Yes | The webhook ID |
Implementation Reference
- src/tools/webhooks.js:62-69 (handler)Handler function that updates a webhook by sending a PATCH request to the Zoom API endpoint `/webhooks/${webhook_id}` with the provided data.
handler: async ({ webhook_id, ...webhookData }) => { try { const response = await zoomApi.patch(`/webhooks/${webhook_id}`, webhookData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } } - src/tools/webhooks.js:54-61 (schema)Zod schema defining the input parameters for the update_webhook tool, including webhook_id (required) and optional fields like url, event_types, etc.
schema: { webhook_id: z.string().describe("The webhook ID"), url: z.string().url().optional().describe("Webhook URL"), event_types: z.array(z.string()).optional().describe("Event types to subscribe to"), authorization_header: z.string().optional().describe("Authorization header"), description: z.string().optional().describe("Webhook description"), status: z.enum(["active", "inactive"]).optional().describe("Webhook status") }, - src/server.js:55-55 (registration)Registration of the webhooksTools array, which includes the update_webhook tool, into the MCP server via the registerTools function.
registerTools(webhooksTools);