Home / Servers / Cloudflare API / waf_content_scanning_update_custom_scan_expression
Update a Content Scanning custom expression for a zone.
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Update a Content Scanning custom expression for a zone. Update the Content Scanning custom expression with the given identifier and return the updated… [PATCH /zones/{zone_id}/content-upload-scan/payloads/{expression_id}]
Name on the gateway: cloudflare_api__waf_content_scanning_update_custom_scan_expression · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
expression_id required | string | expression_id parameter |
payload required | string | Defines the custom content extraction expression… |
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__waf_content_scanning_update_custom_scan_expression",
"arguments": {
"zone_id": "…",
"expression_id": "…",
"payload": "…"
}
}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 content scanning custom expression for a zone. tool with zone_id set to ….