get_webhook
Retrieve specific webhook details by providing its unique ID, enabling integration and management of webhooks within the Zoom API MCP Server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The webhook ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"webhook_id": {
"description": "The webhook ID",
"type": "string"
}
},
"required": [
"webhook_id"
],
"type": "object"
}
Implementation Reference
- src/tools/webhooks.js:42-49 (handler)The handler function for the 'get_webhook' tool, which retrieves a specific webhook's information by calling the Zoom API GET /webhooks/{webhook_id} endpoint.handler: async ({ webhook_id }) => { try { const response = await zoomApi.get(`/webhooks/${webhook_id}`); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/webhooks.js:39-41 (schema)Zod schema defining the input parameter 'webhook_id' as a string for the 'get_webhook' tool.schema: { webhook_id: z.string().describe("The webhook ID") },
- src/server.js:55-55 (registration)Registers the array of webhook tools (including 'get_webhook') to the MCP server using the registerTools utility.registerTools(webhooksTools);
- src/server.js:11-11 (registration)Imports the webhooksTools array containing the 'get_webhook' tool definition from src/tools/webhooks.js.import { webhooksTools } from './tools/webhooks.js';