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:422-436 (handler)The MCP tool handler for 'delete_webhook'. This includes the tool registration, input schema (webhook_id: string), and the execution logic that calls the Fathom client's deleteWebhook method and returns a success message.server.tool( 'delete_webhook', { webhook_id: z.string().describe('The ID of the webhook to delete'), }, 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/fathom-client.ts:323-327 (helper)The FathomClient helper method that performs the actual HTTP DELETE request to the Fathom API endpoint /webhooks/{webhookId} to delete the specified webhook.async deleteWebhook(webhookId: string): Promise<void> { await this.request<void>(`/webhooks/${webhookId}`, { method: 'DELETE', }); }
- src/index.ts:424-426 (schema)The Zod input schema for the delete_webhook tool, validating the webhook_id parameter.{ webhook_id: z.string().describe('The ID of the webhook to delete'), },
- src/index.ts:422-422 (registration)The registration of the 'delete_webhook' tool using McpServer.tool() method.server.tool(