proxmox_add_ha_resource
Adds a VM or container to Proxmox VE high-availability management by creating a cluster HA resource; requires confirm:true for the write.
Instructions
Place a VM or container under HA management (POST /cluster/ha/resources). Only meaningful on a quorate multi-node cluster. Tier-2 write; requires confirm:true.
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": {
"sid": "<sid>",
"confirm": "<confirm>"
},
"name": "proxmox_add_ha_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | HA resource id, 'vm:<vmid>' or 'ct:<vmid>'. | |
| state | No | Requested HA state (default 'started'). | |
| comment | No | Comment. | |
| confirm | Yes | Must be true to write. Tier-2 safe-write gate. | |
| max_restart | No | Max restart attempts on the same node. | |
| max_relocate | No | Max relocation attempts to other nodes. |