Home / Servers / Cloudflare API / namespace_worker_delete_scripts
Delete Workers for Platforms Scripts
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Delete Workers for Platforms Scripts Delete multiple scripts from a Workers for Platforms dispatch namespace based on optional tag… [DELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts]
Name on the gateway: cloudflare_api__namespace_worker_delete_scripts · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
dispatch_namespace required | string | dispatch_namespace parameter |
tags required | string | Filter scripts by tags before deletion. Format… |
limit | integer | Limit the number of scripts to delete. |
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_delete_scripts",
"arguments": {
"account_id": "…",
"dispatch_namespace": "…",
"tags": "…"
}
}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 scripts tool with account_id set to ….