Home / Servers / DigitalOcean API / load_balancers_remove_droplets

Remove Droplets from a Load Balancer

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

Remove Droplets from a Load Balancer To remove a Droplet from a load balancer instance, send a DELETE request to /v2/load_balancers/$LOAD_BALANCER_ID/droplets. In the body of the request, there should be a droplet_ids attribute… [DELETE /v2/load_balancers/{lb_id}/droplets]

Name on the gateway: digitalocean_api__load_balancers_remove_droplets · may change things.

Parameters

NameTypeDescription
lb_id requiredstringA unique identifier for a load balancer.
droplet_ids requiredarrayAn array containing the IDs of the Droplets assigned to the load balancer.

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__load_balancers_remove_droplets",
  "arguments": {
    "lb_id": "…",
    "droplet_ids": []
  }
}

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 remove droplets from a load balancer tool with lb_id set to ….

More from DigitalOcean API