Home / Servers / Cloudflare API / share_resource_create
Trigger a resource addition to a share
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Trigger a resource addition to a share Adds a resource to an existing share, making it available to share recipients. [POST /accounts/{account_id}/shares/{share_id}/resources]
Name on the gateway: cloudflare_api__share_resource_create · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
share_id required | string | share_id parameter |
meta required | object | Resource Metadata. |
resource_account_id required | string | The account that owns the resource. Must match… |
resource_id required | string | Identifier assigned by the service that owns the… |
resource_type required | custom-ruleset | gateway-policy | gateway-destination-ip | gateway-block-page-settings | gateway-extended-email-matching | idp-federation-grant | trust-grant | Resource Type. |
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__share_resource_create",
"arguments": {
"account_id": "…",
"share_id": "…",
"meta": "…",
"resource_account_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 trigger a resource addition to a share tool with account_id set to ….