Home / Servers / DigitalOcean API / registries_run_garbage_collection

Start Garbage Collection

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

Start Garbage Collection Garbage collection enables users to clear out unreferenced blobs (layer & manifest data) after deleting one or more manifests from a repository. If there are no unreferenced blobs resulting from the… [POST /v2/registries/{registry_name}/garbage-collection]

Name on the gateway: digitalocean_api__registries_run_garbage_collection · may change things.

Parameters

NameTypeDescription
registry_name requiredstringThe name of a container registry.

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": "digitalocean_api__registries_run_garbage_collection",
  "arguments": {
    "registry_name": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the start garbage collection tool with registry_name set to ….

More from DigitalOcean API