Home / Servers / Cloudflare API / schema_validation_edit_schema

Set schema validation state

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

Set schema validation state Enables or disables validation for an uploaded OpenAPI schema without changing the schema document. [PATCH /zones/{zone_id}/schema_validation/schemas/{schema_id}]

Name on the gateway: cloudflare_api__schema_validation_edit_schema · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
schema_id requiredstringschema_id parameter
validation_enabledbooleanFlag whether schema is enabled for validation.

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__schema_validation_edit_schema",
  "arguments": {
    "zone_id": "…",
    "schema_id": "…"
  }
}

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 set schema validation state tool with zone_id set to ….

More from Cloudflare API