update_traffic_shaper
Modify an existing pfSense traffic shaper by ID to adjust bandwidth, interface, scheduler, enabled state, or description, with optional immediate application of changes.
Instructions
Update an existing traffic shaper 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": {
"shaper_id": "<shaper_id>"
},
"name": "update_traffic_shaper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Description | |
| enabled | No | Whether the shaper is enabled | |
| bandwidth | No | Bandwidth value | |
| interface | No | Interface to apply shaper to | |
| scheduler | No | Scheduler type (HFSC, CBQ, FAIRQ, CODELQ, PRIQ) | |
| shaper_id | Yes | Traffic shaper ID (from search_traffic_shapers) | |
| bandwidthtype | No | Bandwidth unit (Kb, Mb, Gb, b, %) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||