Home / Servers / DigitalOcean API / vpc_subnet_routes_update

Update a VPC Subnet Route

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

Update a VPC Subnet Route To update the next hop for a user-defined VPC subnet route, send a PATCH request to /v2/vpcs/$VPC_UUID/subnets/$SUBNET_UUID/routes/$ROUTE_UUID. The destination_cidr cannot be changed. Droplet… [PATCH /v2/vpcs/{vpc_uuid}/subnets/{subnet_uuid}/routes/{route_uuid}]

Name on the gateway: digitalocean_api__vpc_subnet_routes_update · may change things.

Parameters

NameTypeDescription
vpc_uuid requiredstringThe unique identifier of the VPC.
subnet_uuid requiredstringThe unique identifier of the VPC subnet.
route_uuid requiredstringThe unique identifier of the route.
target_urns requiredarrayThe URNs of supported next-hop resources. Droplet targets must use a numeric…

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__vpc_subnet_routes_update",
  "arguments": {
    "vpc_uuid": "…",
    "subnet_uuid": "…",
    "route_uuid": "…",
    "target_urns": []
  }
}

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 a vpc subnet route tool with vpc_uuid set to ….

More from DigitalOcean API