manage_webhooks
Create, update, or delete repository webhooks to subscribe to events like branch changes or pull request actions.
Instructions
Manage repository webhooks. Actions: "create" (add a new webhook), "update" (modify an existing webhook), "delete" (remove a webhook).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Webhook callback URL (required for create). | |
| name | No | Webhook name (required for create). | |
| action | Yes | Operation to perform. | |
| active | No | Whether the webhook is active (default: true). | |
| events | No | List of event types to subscribe to (e.g. 'repo:refs_changed', 'pr:opened'). | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| webhookId | No | Webhook ID (required for update and delete). | |
| repository | Yes | Repository slug. |