Home / Servers / Cloudflare API / tags_zone_set
Set tags for a zone-level resource
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Set tags for a zone-level resource Creates or updates tags for a specific zone-level resource. Replaces all existing tags for the… [PUT /zones/{zone_id}/tags]
Name on the gateway: cloudflare_api__tags_zone_set · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
resource_id required | string | Identifies the unique resource. |
resource_type required | api_gateway_operation | custom_certificate | custom_hostname | dns_record | healthcheck | load_balancer | managed_client_certificate | worker_route | zone | zone_ruleset | Enum for base zone-level resource types (those… |
tags | object | Contains key-value pairs of tags. Keys may… |
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__tags_zone_set",
"arguments": {
"zone_id": "…",
"resource_id": "…",
"resource_type": "…"
}
}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 tags for a zone-level resource tool with zone_id set to ….