haproxy_action_create
Create HAProxy frontend actions, such as use_backend, redirect, or modify headers, by specifying conditions and values for precise traffic management on OPNSense firewalls.
Instructions
Create an action for HAProxy frontend
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": "<frontend>",
"type": "<type>"
},
"name": "haproxy_action_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | No | Backend name (for use_backend) | |
| condition | No | ACL condition | |
| frontend | Yes | Frontend UUID | |
| type | Yes | Action type | |
| value | No | Action value |