Home / Servers / DigitalOcean API / load_balancers_update
Update a Load Balancer
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Update a Load Balancer To update a load balancer's settings, send a PUT request to /v2/load_balancers/$LOAD_BALANCER_ID. The request should contain a full representation of the load balancer including existing attributes.… [PUT /v2/load_balancers/{lb_id}]
Name on the gateway: digitalocean_api__load_balancers_update · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
lb_id required | string | A unique identifier for a load balancer. |
droplet_ids required | array | An array containing the IDs of the Droplets assigned to the load balancer. |
region required | ams1 | ams2 | ams3 | blr1 | fra1 | lon1 | nyc1 | nyc2 | nyc3 | sfo1 | sfo2 | sfo3 | sgp1 | tor1 | syd1 | The slug identifier for the region where the resource will initially be… |
id | string | A unique ID that can be used to identify and reference a load balancer. |
name | string | A human-readable name for a load balancer instance. |
project_id | string | The ID of the project that the load balancer is associated with. If no ID is… |
ipv6 | string | An attribute containing the public-facing IPv6 address of the load balancer. |
size_unit | integer | How many nodes the load balancer contains. Each additional node increases the… |
size | lb-small | lb-medium | lb-large | This field has been replaced by the size_unit field for all regions except in… |
algorithm | round_robin | least_connections | This field has been deprecated. You can no longer specify an algorithm for… |
status | new | active | errored | A status string indicating the current state of the load balancer. This can be… |
created_at | string | A time value given in ISO8601 combined date and time format that represents… |
forwarding_rules required | array | An array of objects specifying the forwarding rules for a load balancer. |
health_check | object | An object specifying health check settings for the load balancer. |
sticky_sessions | object | An object specifying sticky sessions settings for the load balancer. |
redirect_http_to_https | boolean | A boolean value indicating whether HTTP requests to the load balancer on port… |
enable_proxy_protocol | boolean | A boolean value indicating whether PROXY Protocol is in use. |
enable_backend_keepalive | boolean | A boolean value indicating whether HTTP keepalive connections are maintained… |
http_idle_timeout_seconds | integer | An integer value which configures the idle timeout for HTTP requests to the… |
vpc_uuid | string | A string specifying the UUID of the VPC to which the load balancer is assigned. |
subnet_uuid | string | A string specifying the UUID of the VPC subnet to which the load balancer is… |
disable_lets_encrypt_dns_records | boolean | A boolean value indicating whether to disable automatic DNS record creation… |
firewall | object | An object specifying allow and deny rules to control traffic to the load… |
network | EXTERNAL | INTERNAL | A string indicating whether the load balancer should be external or internal.… |
network_stack | IPV4 | DUALSTACK | A string indicating whether the load balancer will support IPv4 or both IPv4… |
type | REGIONAL | REGIONAL_NETWORK | GLOBAL | A string indicating whether the load balancer should be a standard regional… |
domains | array | An array of objects specifying the domain configurations for a Global load… |
glb_settings | object | An object specifying forwarding configurations for a Global load balancer. |
target_load_balancer_ids | array | An array containing the UUIDs of the Regional load balancers to be used as… |
tls_cipher_policy | DEFAULT | STRONG | A string indicating the policy for the TLS cipher suites used by the load… |
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:
{
"name": "digitalocean_api__load_balancers_update",
"arguments": {
"lb_id": "…",
"droplet_ids": [],
"region": "…",
"forwarding_rules": []
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 a load balancer tool with lb_id set to ….