reset_root_password
Generate and set a new root password on a running Linux server with the QEMU guest agent enabled; poll the returned Action, then use the password only after it succeeds.
Instructions
Generate and set a new root password on a server. Only works on Linux servers that are running (status 'running') AND have the qemu guest agent running; stock images may not ship it, in which case the API accepts the request but the Action ends in error. Returns an Action plus root_password, which is only in effect once the Action succeeds (poll get_action; treat it as a secret). Fallback if it fails: enable_rescue + reset_server, then change the password from the rescue system
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": {
"id": "<id>"
},
"name": "reset_root_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server ID |