manage_haproxy_backend_server
Add or remove a backend server in pfSense HAProxy, specifying address, port, weight, status, and SSL options with an optional immediate apply.
Instructions
Add or remove a server from an HAProxy backend
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": {
"action": "<action>",
"parent_id": "<parent_id>"
},
"name": "manage_haproxy_backend_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssl | No | Enable SSL for backend connection (used for create) | |
| name | No | Server name (required for create) | |
| port | No | Server port (required for create) | |
| action | Yes | Action to perform ('create' or 'delete') | |
| status | No | Eligibility status: 'active', 'backup', 'disabled', or 'inactive' (default 'active'; used for create) | |
| weight | No | Server weight for load balancing (used for create) | |
| address | No | Server IP address or hostname (required for create) | |
| confirm | No | Must be set to True for delete operations. Safety gate for destructive operations. | |
| parent_id | Yes | Parent backend ID | |
| server_id | No | Server ID (required for delete) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||