delete_webhook
Remove a specific webhook from a Basecamp project by providing the project ID and webhook ID, enabling streamlined integration management.
Instructions
Delete a webhook
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| webhook_id | Yes | Webhook ID |
Implementation Reference
- src/lib/basecamp-client.ts:404-406 (handler)The core handler function that performs the DELETE API call to remove the specified webhook from the Basecamp project.async deleteWebhook(projectId: string, webhookId: string): Promise<void> { await this.client.delete(`/buckets/${projectId}/webhooks/${webhookId}.json`); }
- src/index.ts:500-510 (registration)Registers the 'delete_webhook' tool in the MCP initialize response, including its description and input schema for validation.name: 'delete_webhook', description: 'Delete a webhook', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'Project ID' }, webhook_id: { type: 'string', description: 'Webhook ID' }, }, required: ['project_id', 'webhook_id'], }, },
- src/index.ts:502-509 (schema)Defines the input schema for the delete_webhook tool, specifying required project_id and webhook_id parameters.inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'Project ID' }, webhook_id: { type: 'string', description: 'Webhook ID' }, }, required: ['project_id', 'webhook_id'], },