Home / Servers / Linode API / post_resize_disk
Resize a disk
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Resize a disk Resizes a Disk you have permission to read_write. The Disk must not be in use. If the Disk is in use, the request will succeed but the resize will ultimately fail. For a request to succeed, the… [POST /v4/linode/instances/{linodeId}/disks/{diskId}/resize]
Name on the gateway: linode_api__post_resize_disk · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
linodeId required | integer | ID of the Linode to look up. |
diskId required | integer | ID of the Disk to look up. |
size required | integer | The desired size, in MB, of the disk. |
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": "linode_api__post_resize_disk",
"arguments": {
"linodeId": 0,
"diskId": 0,
"size": 0
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
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 resize a disk tool with linodeId set to ….