Home / Servers / Linode API / post_detach_volume

Detach a volume

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

Detach a volume Detach a Block Storage volume from a Linode. When you delete a Linode, any volumes attached to it are automatically detached. > 📘 > > To run this operation, your user needs the read-write… [POST /v4/volumes/{volumeId}/detach]

Name on the gateway: linode_api__post_detach_volume · may change things.

Parameters

NameTypeDescription
volumeId requiredintegerThe unique identifier for the target volume. Run the List…

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": "linode_api__post_detach_volume",
  "arguments": {
    "volumeId": 0
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the detach a volume tool with volumeId set to ….

More from Linode API