update_webhook
Update an existing webhook subscription.
WHEN TO USE:
Changing the webhook endpoint URL
Adding or removing subscribed events
Enabling or disabling a webhook
Updating the webhook description
RETURNS:
webhook_id: The updated webhook ID
url: Updated endpoint URL
events: Updated event subscriptions
enabled: Updated enabled status
updated_at: Update timestamp
EXAMPLE: User: "Disable the webhook for maintenance" update_webhook({ webhook_id: "wh_mmmpdbvj_8b7c5a59296d", enabled: false })
User: "Add impression events to my webhook" update_webhook({ webhook_id: "wh_mmmpdbvj_8b7c5a59296d", events: ["device.online", "device.offline", "impression.recorded"] })
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||