Home / Servers / Cloudflare API / zero_trust_networks_subnet_update_cloudflare_source

Update Cloudflare Source Subnet

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

Update Cloudflare Source Subnet Updates the Cloudflare Source subnet of the given address family [PATCH /accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}]

Name on the gateway: cloudflare_api__zero_trust_networks_subnet_update_cloudflare_source · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
address_family requiredv4 | v6address_family parameter
commentstringAn optional description of the subnet.
namestringA user-friendly name for the subnet.
networkstringThe private IPv4 or IPv6 range defining the…

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__zero_trust_networks_subnet_update_cloudflare_source",
  "arguments": {
    "account_id": "…",
    "address_family": "…"
  }
}

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 update cloudflare source subnet tool with account_id set to ….

More from Cloudflare API