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

NameTypeDescription
zone_id requiredstringzone_id parameter
waiting_room_id requiredstringwaiting_room_id parameter
rule_id requiredstringrule_id parameter
action requiredbypass_waiting_roomThe action to take when the expression matches.
descriptionstringThe description of the rule.
enabledbooleanWhen set to true, the rule is enabled.
expression requiredstringCriteria defining when there is a match for the…
positionobjectReorder 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:

call_tool arguments
{
  "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:

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 patch waiting room rule tool with zone_id set to ….

More from Cloudflare API