delete_webhook
Remove a webhook from the Fathom MCP Server by specifying its ID to stop receiving meeting data notifications.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The ID of the webhook to delete |
Implementation Reference
- src/index.ts:427-435 (handler)The main handler function for the 'delete_webhook' MCP tool. It takes a webhook_id, calls the FathomClient's deleteWebhook method, logs the action, and returns a success message.async ({ webhook_id }) => { console.error(`Deleting webhook ${webhook_id}...`); await fathom.deleteWebhook(webhook_id); console.error('Webhook deleted'); return { content: [{ type: 'text', text: `Webhook ${webhook_id} deleted successfully.` }], }; }
- src/index.ts:424-426 (schema)Zod input schema for the delete_webhook tool, validating the webhook_id parameter as a required string.{ webhook_id: z.string().describe('The ID of the webhook to delete'), },
- src/index.ts:422-423 (registration)Registration of the 'delete_webhook' tool using server.tool().server.tool( 'delete_webhook',
- src/fathom-client.ts:323-327 (helper)FathomClient helper method that performs the actual HTTP DELETE request to the Fathom API to delete the specified webhook.async deleteWebhook(webhookId: string): Promise<void> { await this.request<void>(`/webhooks/${webhookId}`, { method: 'DELETE', }); }