Home / Servers / Linode API / post_rebuild_linode_instance
Rebuild a Linode
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Rebuild a Linode Rebuilds a Linode you have the read_write permission to modify. A rebuild first shuts down the Linode, deletes all disks and configuration profiles on the Linode, then deploys a new image to the… [POST /v4/linode/instances/{linodeId}/rebuild]
Name on the gateway: linode_api__post_rebuild_linode_instance · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
linodeId required | integer | ID of the Linode to rebuild. |
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… |
booted | boolean | __Write-only__ This field defaults to true if the Linode is created with an… |
disk_encryption | enabled | disabled | Local disk encryption ensures that your data stored on Linodes is secured.… |
image required | string | An Image ID to deploy the Linode Disk from. Run the List images operation with… |
maintenance_policy | linode/migrate | linode/power_off_on | __Beta__ Defines the maintenance policy for this Linode. Choose from the… |
metadata | object | __Write-only__ An object containing user-defined data relevant to the creation… |
root_pass required | string | __Write-only__ This sets the root user's password on a newly created Linode… |
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… |
type | string | The ID of the Linode type to resize to with this request. |
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_rebuild_linode_instance",
"arguments": {
"linodeId": 0,
"image": "…",
"root_pass": "…"
}
}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 rebuild a linode tool with linodeId set to ….