get_webhooks
Retrieve a list of webhooks associated with a specific project in Basecamp using the MCP server, enabling efficient project integration and management.
Instructions
List webhooks for a project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID |
Implementation Reference
- src/index.ts:476-485 (schema)Input schema definition for the 'get_webhooks' MCP tool, defining the required 'project_id' parameter.name: 'get_webhooks', description: 'List webhooks for a project', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'Project ID' }, }, required: ['project_id'], }, },
- src/lib/basecamp-client.ts:391-394 (helper)Core implementation of fetching webhooks for a given project ID using the Basecamp API client. This method would be called by the MCP tool handler.async getWebhooks(projectId: string): Promise<Webhook[]> { const response = await this.client.get(`/buckets/${projectId}/webhooks.json`); return response.data; }