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
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
schema_id required | string | schema_id parameter |
validation_enabled | boolean | Flag 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:
{
"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:
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 ….