update_haproxy_frontend
Modify an existing HAProxy frontend by ID on pfSense to change its name, status, backend, bind addresses, or SSL certificates and optionally apply changes immediately.
Instructions
Update an existing HAProxy frontend by ID
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": {
"frontend_id": "<frontend_id>"
},
"name": "update_haproxy_frontend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Frontend name | |
| type | No | Frontend type | |
| descr | No | Description | |
| status | No | Frontend status (active, disabled) | |
| backend | No | Default backend name | |
| frontend_id | Yes | Frontend ID (from search_haproxy_frontends) | |
| bind_addresses | No | List of bind address dicts. Each dict maps to the pfSense API's `a_extaddr` fields: {"extaddr": "custom", "extaddr_custom": "192.168.1.100", "extaddr_port": "443", "extaddr_ssl": true}. Replaces the frontend's whole address list. | |
| ssloffloadcert | No | The default SSL/TLS certificate refid to use for this frontend when any bind address has extaddr_ssl=true (use the certificate's `refid`, not its numeric `id`). | |
| ha_certificates | No | Additional SSL/TLS certificate refids for SNI on this frontend | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||