Home / Servers / Cloudflare API / cws_create_tenant_node

Add a node to a tenant structure

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

Add a node to a tenant structure Adds a validated cloud-native node to the tenant hierarchy. [POST /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes]

Name on the gateway: cloudflare_api__cws_create_tenant_node · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
structure_id requiredstringstructure_id parameter
namestringDisplay name (e.g. an OU or account name)…
native_id requiredstringCloud-native identifier of this node, unique…
node_kind requiredstringPosition in the tree. Legal values depend on the…
parentstringNative ID of this node's parent. Required for…

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__cws_create_tenant_node",
  "arguments": {
    "account_id": "…",
    "structure_id": "…",
    "native_id": "…",
    "node_kind": "…"
  }
}

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 add a node to a tenant structure tool with account_id set to ….

More from Cloudflare API