Update Webhook
update_webhookModify a Porkbun webhook endpoint by changing only supplied fields, such as the HTTPS URL, event subscriptions, or active/disabled status; pause or resume deliveries and validate changes with dry-run.
Instructions
Update a webhook endpoint. Only the supplied fields change. Set status to DISABLED to pause deliveries or ACTIVE to resume (resuming also clears the consecutive-failure counter). A replacement url must satisfy the same public-HTTPS rules as create_webhook. Idempotent. Calls the Porkbun Webhooks API (https://porkbun.com/llms/webhooks).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webhook endpoint id. | |
| url | No | New HTTPS URL. Same rules as create_webhook: port 443, publicly resolvable hostname, no embedded credentials. | |
| events | No | Replacement event subscription list (or `['*']` for all). | |
| status | No | Enable or pause the endpoint. | |
| dry_run | No | If true, validate only — returns wouldSucceed and changes nothing. |