Reinstall OS
reinstall_vpsDESTRUCTIVE — all data is lost. REQUIRES confirm = exact hostname (from get_vps_status) or 'DELETE'. Agent must explicitly confirm with the human before calling. Wipes and reinstalls the VPS with the given OS image (os_id from list_plans). Provisioning runs asynchronously; poll get_vps_status. Requires: token + confirm (hostname or DELETE). Destroys all data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_id | Yes | Required. OS image id from this plan's `available_os` in list_plans, integer, e.g. 4 (Ubuntu 24.04). | |
| confirm | Yes | Required. Safety confirmation: the server's exact hostname (from get_vps_status) or the literal "DELETE". ALL data is erased — ask the human first. | |
| service_id | No | Optional. Service code as returned by list_vps/order_vps, e.g. "68J67T5" (a plain numeric id is also accepted). |