Attach Load Balancer to Network
hetzner_attach_lb_to_networkAttach a load balancer to a network using the Hetzner Cloud API. Specify the load balancer ID, network ID, and optional IP settings.
Instructions
Attach a load balancer to a network.
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>",
"network": "<network>"
},
"name": "hetzner_attach_lb_to_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID | |
| ip | No | IP address to assign in the network | |
| network | Yes | Network ID to attach to | |
| ip_range | No | Subnet IP range (CIDR) to attach to, e.g. "10.0.1.0/24" |