# Webhooks

> MCP tools for the Webhooks module. See the [Webhooks module docs](/docs/modules/webhooks) for permissions and data model.

# Webhooks

MCP tools for the Webhooks module. See the [Webhooks module docs](/docs/modules/webhooks) for permissions and data model.

### `list-webhooks`

List webhooks

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `project_id` | `string` | no | — |
| `limit` | `number` | no | Maximum number of results to return |
| `offset` | `number` | no | Number of results to skip |

### `create-webhook`

Create a webhook

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `project_id` | `string` | no | Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise. |
| `name` | `string` | yes | — |
| `description` | `string` | no | — |
| `url` | `string` | yes | — |
| `events` | `array<string>` | yes | — |
| `policy_id` | `string` | no | — |

### `get-webhook`

Get a webhook

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `webhook_id` | `string` | yes | — |

### `update-webhook`

Update a webhook

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `webhook_id` | `string` | yes | — |
| `name` | `string` | no | — |
| `description` | `string` | no | — |
| `url` | `string` | no | — |
| `events` | `array<string>` | no | — |
| `active` | `boolean` | no | — |
| `policy_id` | `string \| null` | no | — |

### `delete-webhook`

Delete a webhook

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `webhook_id` | `string` | yes | — |

### `list-webhook-deliveries`

List webhook deliveries

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `webhook_id` | `string` | yes | Webhook to list deliveries for (wh_...) |
| `limit` | `number` | no | — |
| `offset` | `number` | no | — |

### `get-webhook-delivery`

Get a delivery

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `delivery_id` | `string` | yes | — |

### `redeliver-webhook-delivery`

Redeliver a webhook delivery

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `delivery_id` | `string` | yes | Delivery to send again (wh_deliv_...) |

### `get-webhook-secret`

Get webhook secret

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `webhook_id` | `string` | yes | — |

### `rotate-webhook-secret`

Rotate webhook secret

#### Arguments

| Argument | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| `webhook_id` | `string` | yes | — |
