Home / Servers / Linode API / post_add_linode_disk
Create a disk
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Create a disk Add a new disk to an existing Linode. You can create an empty disk to manually configure it later. You can also target a stored image to build the disk using a pre-configured file system--either… [POST /v4/linode/instances/{linodeId}/disks]
Name on the gateway: linode_api__post_add_linode_disk · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
linodeId required | integer | ID of the Linode to look up. |
authorized_keys | array | __Write-only__ A list of public SSH keys that will be automatically appended… |
authorized_users | array | __Write-only__ A list of usernames for authorized users. Before you can add a… |
filesystem | raw | swap | ext2 | ext3 | ext4 | initrd | The disk's format or file system. A value of raw indicates no file system… |
image | string | An Image ID to deploy the Linode Disk from. Run the List images operation with… |
label | string | __Filterable__ The name of the disk. This is for display purposes only. |
root_pass | string | __Write-only__ This sets the root user's password on a newly created Linode… |
size required | integer | __Filterable__ The size of the Disk in MB. Images require a minimum size. Run… |
stackscript_data | object | This field is required only if the StackScript being deployed requires input… |
stackscript_id | integer | A StackScript ID that will cause the referenced StackScript to be run during… |
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_add_linode_disk",
"arguments": {
"linodeId": 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 create a disk tool with linodeId set to ….