assign_to_load_balancer_rule
Assigns virtual machines to a CloudStack load balancer rule so traffic is distributed across the specified VM IDs. Use it to add backend VMs to an existing rule.
Instructions
Assign VMs to a load balancer rule
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>",
"virtualmachineids": "<virtualmachineids>"
},
"name": "assign_to_load_balancer_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Load balancer rule ID | |
| virtualmachineids | Yes | List of VM IDs to assign to the load balancer |