Add Load Balancer Service
hetzner_add_lb_serviceAdd a port listener with forwarding rules to a Hetzner load balancer to define traffic routing and health checks.
Instructions
Add a service (port listener with forwarding rules) to a load balancer.
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>",
"protocol": "<protocol>",
"listen_port": "<listen_port>",
"destination_port": "<destination_port>"
},
"name": "hetzner_add_lb_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID | |
| http | No | HTTP-specific service settings | |
| protocol | Yes | Service protocol: tcp, http, or https | |
| listen_port | Yes | Port the load balancer listens on | |
| health_check | No | Health check configuration | |
| proxyprotocol | No | Enable PROXY protocol | |
| destination_port | Yes | Port traffic is forwarded to |