Change a webhook
update_webhookOn one site of the account, named in site. Changes a webhook's name, event or URL; what is left out stays. A new URL is checked again. Its secret stays: the person makes a new one on Settings › 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": {
"site": "<site>",
"webhook": "<webhook>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| site | Yes | The site to work on, as list_sites names it | |
| event | No | The one event it sends; list_webhooks names them all | |
| webhook | Yes | Its id or name |