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

NameTypeDescription
linodeId requiredintegerID of the Linode to rebuild.
authorized_keysarray__Write-only__ A list of public SSH keys that will be automatically appended…
authorized_usersarray__Write-only__ A list of usernames for authorized users. Before you can add a…
bootedboolean__Write-only__ This field defaults to true if the Linode is created with an…
disk_encryptionenabled | disabledLocal disk encryption ensures that your data stored on Linodes is secured.…
image requiredstringAn Image ID to deploy the Linode Disk from. Run the List images operation with…
maintenance_policylinode/migrate | linode/power_off_on__Beta__ Defines the maintenance policy for this Linode. Choose from the…
metadataobject__Write-only__ An object containing user-defined data relevant to the creation…
root_pass requiredstring__Write-only__ This sets the root user's password on a newly created Linode…
stackscript_dataobjectThis field is required only if the StackScript being deployed requires input…
stackscript_idintegerA StackScript ID that will cause the referenced StackScript to be run during…
typestringThe 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:

call_tool arguments
{
  "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:

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 rebuild a linode tool with linodeId set to ….

More from Linode API