Home / Servers / Cloudflare API / accounts_turnstile_widget_update
Update a Turnstile Widget
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Update a Turnstile Widget Updates the configuration of a Turnstile widget. [PUT /accounts/{account_id}/challenges/widgets/{sitekey}]
Name on the gateway: cloudflare_api__accounts_turnstile_widget_update · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
sitekey required | string | sitekey parameter |
bot_fight_mode | boolean | If bot_fight_mode is set to true, Cloudflare… |
clearance_level | no_clearance | jschallenge | managed | interactive | If Turnstile is embedded on a Cloudflare site… |
domains required | array | |
ephemeral_id | boolean | Return the Ephemeral ID in /siteverify (ENT only). |
mode required | non-interactive | invisible | managed | Widget Mode |
name required | string | Human readable widget name. Not unique.… |
offlabel | boolean | Do not show any Cloudflare branding on the… |
region | world | china | Region where this widget can be used. This… |
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:
{
"name": "cloudflare_api__accounts_turnstile_widget_update",
"arguments": {
"account_id": "…",
"sitekey": "…",
"domains": [],
"mode": "…",
"name": "…"
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
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 update a turnstile widget tool with account_id set to ….