Home / Servers / Cloudflare API / waiting_room_patch_waiting_room_rule
Patch Waiting Room Rule
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Patch Waiting Room Rule Patches a rule for a waiting room. [PATCH /zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules/{rule_id}]
Name on the gateway: cloudflare_api__waiting_room_patch_waiting_room_rule · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
waiting_room_id required | string | waiting_room_id parameter |
rule_id required | string | rule_id parameter |
action required | bypass_waiting_room | The action to take when the expression matches. |
description | string | The description of the rule. |
enabled | boolean | When set to true, the rule is enabled. |
expression required | string | Criteria defining when there is a match for the… |
position | object | Reorder the position of a rule |
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__waiting_room_patch_waiting_room_rule",
"arguments": {
"zone_id": "…",
"waiting_room_id": "…",
"rule_id": "…",
"action": "…",
"expression": "…"
}
}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 patch waiting room rule tool with zone_id set to ….