Home / Servers / Cloudflare API / email_routing_routing_rules_update_catch_all_rule

Update catch-all rule

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

Update catch-all rule Enable or disable catch-all routing rule, or change action to forward to a specific destination… [PUT /zones/{zone_id}/email/routing/rules/catch_all]

Name on the gateway: cloudflare_api__email_routing_routing_rules_update_catch_all_rule · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
actions requiredarrayList actions for the catch-all routing rule.
enabledbooleanRouting rule status.
matchers requiredarrayList of matchers for the catch-all routing rule.
namestringRouting rule name.
owner_worker_tagstringPublic tag (script_tag) of the Worker that owns…
sourceapi | wranglerWho manages the rule. api covers dashboard…

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__email_routing_routing_rules_update_catch_all_rule",
  "arguments": {
    "zone_id": "…",
    "actions": [],
    "matchers": []
  }
}

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 update catch-all rule tool with zone_id set to ….

More from Cloudflare API