Update webhook
update_webhookRequires sign-in. Change the url, events, secret or enabled flag of a webhook. A new secret (16 to 200 characters, no whitespace, never returned) replaces the old one at once: set it in your receiver first or accept both secrets for a while. Enabling a webhook that was switched off automatically starts a fresh failure count.
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": {
"product": "<product>",
"id": "<id>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | webhook id | |
| url | No | HTTPS URL. | |
| events | No | Event names to send. | |
| secret | No | Signing secret chosen by you, 16 to 200 characters, never returned. | |
| enabled | No | Whether the item is switched on. | |
| product | Yes | Product id or slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The same JSON the REST API returns for this operation. |