Home / Servers / DigitalOcean API / registries_get_garbage_collection

Get Active Garbage Collection

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

Get Active Garbage Collection To get information about the currently-active garbage collection for a registry, send a GET request to /v2/registry/$REGISTRY_NAME/garbage-collection. [GET /v2/registries/{registry_name}/garbage-collection]

Name on the gateway: digitalocean_api__registries_get_garbage_collection · read-only.

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_get_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 get active garbage collection tool with registry_name set to ….

More from DigitalOcean API