Home / Servers / DigitalOcean API / registries_list_garbage_collections

List Garbage Collections

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

List Garbage Collections To get information about past garbage collections for a registry, send a GET request to /v2/registry/$REGISTRY_NAME/garbage-collections. [GET /v2/registries/{registry_name}/garbage-collections]

Name on the gateway: digitalocean_api__registries_list_garbage_collections · read-only.

Parameters

NameTypeDescription
registry_name requiredstringThe name of a container registry.
per_pageintegerNumber of items returned per page
pageintegerWhich 'page' of paginated results to return.

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_list_garbage_collections",
  "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 list garbage collections tool with registry_name set to ….

More from DigitalOcean API