add_qos_rule
Creates a new QoS policy rule to classify traffic by zones, addresses, applications, and services into a QoS class. The rule is staged in the candidate configuration and requires a commit to activate.
Instructions
[MODIFIES CONFIG] Creates a new QoS policy rule. Staged in candidate config — requires 'commit' to activate.
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": {
"name": "<name>",
"from_zones": "<from_zones>",
"to_zones": "<to_zones>",
"source": "<source>",
"destination": "<destination>",
"application": "<application>",
"service": "<service>",
"action_class": "<action_class>"
},
"name": "add_qos_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Rule name | |
| source | Yes | Source addresses or 'any' | |
| service | Yes | Services or 'any' | |
| disabled | No | Create rule in disabled state | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. | |
| to_zones | Yes | Destination zones | |
| from_zones | Yes | Source zones | |
| application | Yes | Applications or 'any' | |
| description | No | Optional description | |
| destination | Yes | Destination addresses or 'any' | |
| action_class | Yes | QoS class number (1-8) |