Add HA resource
add_ha_resourceAdd a VM or container to Proxmox HA management, ensuring automatic restart on failure. Requires user confirmation due to high risk.
Instructions
Make a VM or container HA-managed by the cluster. HIGH RISK — service will be restarted on failure. Ask the user to confirm before invoking.
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>"
},
"name": "add_ha_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | Service ID, e.g. 'vm:100' or 'ct:101' | |
| group | No | HA group to assign (default: 'default') | |
| state | No | started | |
| comment | No | ||
| confirm | No | Set to true once the user has approved this action | |
| max_restart | No | Max restart attempts | |
| max_relocate | No | Max relocate attempts |