update_traffic_shaper
Modify existing traffic shaper settings by ID, including bandwidth, scheduler, interface, and enabled state, with the option to apply changes immediately.
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 | |||