Home / Servers / DigitalOcean API / registries_update_garbage_collection

Update Garbage Collection

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

Update Garbage Collection To cancel the currently-active garbage collection for a registry, send a PUT request to /v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID and specify one or more of the attributes below. It… [PUT /v2/registries/{registry_name}/garbage-collection/{garbage_collection_uuid}]

Name on the gateway: digitalocean_api__registries_update_garbage_collection · may change things.

Parameters

NameTypeDescription
registry_name requiredstringThe name of a container registry.
garbage_collection_uuid requiredstringThe UUID of a garbage collection run.
cancelbooleanA boolean value indicating that the garbage collection should be cancelled.

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

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

More from DigitalOcean API