Home / Servers / Cloudflare API / update_cni
Modify stored information about a CNI object
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Modify stored information about a CNI object Updates the configuration of an existing Cloud Network Interconnect (CNI), including connection… [PUT /accounts/{account_id}/cni/cnis/{cni}]
Name on the gateway: cloudflare_api__update_cni · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
cni required | string | cni parameter |
account required | string | Customer account tag |
bgp | object | |
bgp_mode | dynamic_route_exchange | advertise_only | The BGP mode for a CNI. One of the following: *… |
cust_ip required | string | Customer end of the point-to-point link This… |
id required | string | |
interconnect required | string | Interconnect identifier hosting this CNI |
magic required | object | |
p2p_ip required | string | Cloudflare end of the point-to-point link |
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__update_cni",
"arguments": {
"account_id": "…",
"cni": "…",
"account": "…",
"cust_ip": "…",
"id": "…",
"interconnect": "…",
"magic": "…",
"p2p_ip": "…"
}
}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 modify stored information about a cni object tool with account_id set to ….