Home / Servers / DigitalOcean API / droplet_actions_post
Initiate a Droplet Action
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Initiate a Droplet Action To initiate an action on a Droplet send a POST request to /v2/droplets/$DROPLET_ID/actions. In the JSON body to the request, set the type attribute to one of the supported action types: | Action |… [POST /v2/droplets/{droplet_id}/actions]
Name on the gateway: digitalocean_api__droplet_actions_post · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
droplet_id required | integer | A unique identifier for a Droplet instance. |
type required | enable_backups | disable_backups | reboot | power_cycle | shutdown | power_off | power_on | restore | password_reset | resize | rebuild | rename | change_kernel | enable_ipv6 | snapshot | The type of action to initiate for the Droplet. |
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__droplet_actions_post",
"arguments": {
"droplet_id": 0,
"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 droplet action tool with droplet_id set to ….