create_traffic_shaper
Create a traffic shaper on a pfSense interface to control bandwidth allocation with a chosen scheduler and bandwidth limit.
Instructions
Create a traffic shaper on an interface
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": {
"interface": "<interface>",
"scheduler": "<scheduler>",
"bandwidthtype": "<bandwidthtype>",
"bandwidth": "<bandwidth>"
},
"name": "create_traffic_shaper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Optional description | |
| enabled | No | Whether the shaper is enabled | |
| bandwidth | Yes | Bandwidth value | |
| interface | Yes | Interface to apply shaper to (wan, lan, opt1, etc.) | |
| scheduler | Yes | Scheduler type (HFSC, CBQ, FAIRQ, CODELQ, PRIQ) | |
| bandwidthtype | Yes | Bandwidth unit (Kb, Mb, Gb, b, %) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||