set_container_root_password
Reset or set a running container's root password to a value the user types in Proxmox Controller, for lost credentials or password rotation; the assistant never sees it.
Instructions
Set a running container's root password to one the USER types in Proxmox Controller's window (you never give or see it) — for a container whose root password is lost, or to give it a new one. It runs pct exec -- chpasswd on the host over the app's SSH key, so it is a host command; the container must be on the node the app connects to.
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": {
"host": "<host>",
"vmid": "<vmid>",
"reason": "<reason>"
},
"name": "set_container_root_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The host's id, from list_hosts. | |
| vmid | Yes | The guest's ID (VMID). | |
| reason | Yes | Why you are doing this, in a sentence. The user sees it in the approval window and in the log. |