Home / Servers / DigitalOcean API / floating_ips_action_post
Initiate a Floating IP Action
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Initiate a Floating IP Action To initiate an action on a floating IP send a POST request to /v2/floating_ips/$FLOATING_IP/actions. In the JSON body to the request, set the type attribute to on of the supported action types: |… [POST /v2/floating_ips/{floating_ip}/actions]
Name on the gateway: digitalocean_api__floating_ips_action_post · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
floating_ip required | string | A floating IP address. |
type required | assign | unassign | The type of action to initiate for the floating IP. |
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__floating_ips_action_post",
"arguments": {
"floating_ip": "…",
"type": "…"
}
}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 initiate a floating ip action tool with floating_ip set to ….