Home / Servers / DigitalOcean API / nfs_create_action

Initiate an NFS action

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

Initiate an NFS action To execute an action (such as resize) on a specified NFS share, send a POST request to /v2/nfs/{nfs_id}/actions. In the JSON body to the request, set the type attribute to on of the supported action… [POST /v2/nfs/{nfs_id}/actions]

Name on the gateway: digitalocean_api__nfs_create_action · may change things.

Parameters

NameTypeDescription
nfs_id requiredstringThe unique ID of the NFS share
type requiredresize | snapshot | attach | detach | reassign | switch_performance_tierThe type of action to initiate for the NFS share (such as resize or snapshot).
regionstringThe DigitalOcean region slug (e.g. atl1, nyc2) where the NFS snapshot resides.
paramsobject

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__nfs_create_action",
  "arguments": {
    "nfs_id": "…",
    "type": "…"
  }
}

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 initiate an nfs action tool with nfs_id set to ….

More from DigitalOcean API