Home / Servers / Cloudflare API / namespace_worker_script_delete_worker
Delete Workers for Platforms Script
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Delete Workers for Platforms Script Delete a script from a Workers for Platforms dispatch namespace. This call has no response body on… [DELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}]
Name on the gateway: cloudflare_api__namespace_worker_script_delete_worker · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
dispatch_namespace required | string | dispatch_namespace parameter |
script_name required | string | script_name parameter |
force | boolean | If true, delete the script even when other… |
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__namespace_worker_script_delete_worker",
"arguments": {
"account_id": "…",
"dispatch_namespace": "…",
"script_name": "…"
}
}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 delete workers for platforms script tool with account_id set to ….