Home / Servers / Cloudflare API / edit_webhook

Edit a webhook

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Edit a webhook Edits the webhook details for the given webhook ID. [PATCH /accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}]

Name on the gateway: cloudflare_api__edit_webhook · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
app_id requiredstringapp_id parameter
webhook_id requiredstringwebhook_id parameter
enabledboolean
eventsarrayEvents that the webhook will get triggered by
namestringName of the webhook
urlstringURL the webhook will send events to

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__edit_webhook",
  "arguments": {
    "account_id": "…",
    "app_id": "…",
    "webhook_id": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the edit a webhook tool with account_id set to ….

More from Cloudflare API