Update Webhook Subscription Tool
update-webhook-subscriptionUse this when the user wants to change a webhook endpoint URL, subscribed events, active/inactive status, or metadata. State-changing external action: updates the owned webhook subscription after authorization. Requires subscription_id from list-webhook-subscriptions; use list-webhook-events for valid keys.
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": {
"subscription_id": "<subscription_id>"
},
"name": "update-webhook-subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | Event keys from list-webhook-events. | |
| metadata | No | Optional metadata object to replace or store with the webhook subscription. | |
| is_active | No | Whether the subscription is active. | |
| webhook_url | No | HTTP/HTTPS webhook endpoint. | |
| subscription_id | Yes | Webhook subscription ID. |