create_ha_resource
Add a virtual machine or container to Proxmox HA management, specifying restart and relocate limits and the desired state.
Instructions
Add a resource to HA management
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": "create_ha_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | Resource ID, e.g. "vm:100" | |
| group | No | HA group to assign the resource to | |
| state | No | Requested resource state: "started", "stopped", "enabled", "disabled" | |
| max_restart | No | Maximum number of restart attempts | |
| max_relocate | No | Maximum number of relocate attempts |