# veryfront__update_webhook

Change the name, target, prompt template, event filter or status of a webhook, for example to enable or disable deliveries; returns the updated webhook. Requires project.agents.write.

Risk: mutating.

## Arguments

| Name                | Type   | Required | Description                                                                                                                                                                                               |
| ------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string |          | Project ID or slug.                                                                                                                                                                                       |
| `webhook_id`        | string | Yes      | The webhook id. Updates require project.agents.write. When target is omitted, a stored conversation-backed target (create\_new or existing conversation mode) still requires project.conversations.write. |
| `name`              | string |          | New webhook name, 1-120 characters.                                                                                                                                                                       |
| `target`            | object |          | Target invoked by a webhook definition.                                                                                                                                                                   |
| `prompt_template`   | string |          | Prompt template for run targets. Not supported for event-only webhooks.                                                                                                                                   |
| `event_filter`      |        |          | Optional incoming event filter. Missing, null, or empty conditions accept every event.                                                                                                                    |
| `status`            | string |          | draft, enabled or disabled.                                                                                                                                                                               |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_webhook",
    "arguments": {
      "webhook_id": "<webhook_id>"
    }
  }
}
```
