create_haproxy_backend
Creates an HAProxy backend pool in pfSense for routing traffic to backend servers, with options for protocol mode, load-balancing algorithm, health checks, and description.
Instructions
Create an HAProxy backend pool
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": {
"name": "<name>"
},
"name": "create_haproxy_backend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Protocol mode ('http' or 'tcp') | http |
| name | Yes | Backend name (alphanumeric and underscores only) | |
| descr | No | Optional description | |
| balance | No | Load balancing algorithm (roundrobin, leastconn, source, etc.) | |
| check_type | No | Health check type (HTTP, TCP, SSL, none, etc.) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||