Change a webhook endpoint
update_webhookReplaces the url and events of an endpoint, or disables/enables it (status).
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": {
"endpoint_id": "<endpoint_id>",
"url": "<url>",
"events": "<events>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | Yes | Events to deliver. Typical: ["invoice.paid","invoice.expired","payout.completed","payout.failed"]. | |
| status | No | ||
| endpoint_id | Yes | endpoint_id from list_webhooks. |