Reinstall a machine
reinstall_vmERASES THE DISK and redeploys another image. Ask the user first. confirm_hostname must be the machine's exact current hostname. Scope: vms.action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vm": "<vm>",
"image": "<image>",
"confirm_hostname": "<confirm_hostname>"
},
"name": "reinstall_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | Machine id, as returned by list_vms or create_vm. | |
| image | Yes | Image slug from list_images, offered in the machine's region and fitting its plan. | |
| ssh_keys | No | Fingerprints or ids of SSH keys already on the account (see list_ssh_keys) to install on the new system. | |
| confirm_hostname | Yes | The machine's exact hostname, typed back as confirmation. | |
| password_delivery | No | email (default) mails a generated password; none needs at least one SSH key. |