Home / Servers / Cloudflare API / custom_pages_for_a_zone_update_a_custom_page
Update a custom page
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Update a custom page Updates the configuration for a custom page type at the zone level. [PUT /zones/{zone_id}/custom_pages/{identifier}]
Name on the gateway: cloudflare_api__custom_pages_for_a_zone_update_a_custom_page · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
identifier required | 1000_errors | 500_errors | basic_challenge | country_challenge | ip_block | managed_challenge | ratelimit_block | under_attack | waf_block | waf_challenge | identifier parameter |
state required | default | customized | The custom page state. |
url required | string | The URL associated with the custom page. |
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__custom_pages_for_a_zone_update_a_custom_page",
"arguments": {
"zone_id": "…",
"identifier": "…",
"state": "…",
"url": "…"
}
}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 custom page tool with zone_id set to ….