plan_client_qos_policy
Create a deterministic QoS bandwidth plan for clients, tags, or groups without modifying the controller, and receive a plan token for later activation with apply_client_qos_policy.
Instructions
Persist a deterministic QoS target preview without controller mutation.
Mutating (local) operation: resolves selector_type/selector_value to concrete client keys and stores a durable QoS plan (plan_token) on the server with the requested download/upload limits. It does NOT change the controller. Pair the returned plan_token with apply_client_qos_policy to attempt activation. Requires UNIFI_RUNTIME_ENABLED=true; use get_client_qos_capabilities to check adapters.
Args: selector_type: Scope of the policy - "client", "tag", or "group". selector_value: Client identity (MAC/IP/hostname) when selector_type is "client", otherwise the tag or group name to expand to clients. download_kbps: Maximum download bandwidth in kilobits per second. upload_kbps: Maximum upload bandwidth in kilobits per second. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.
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": {
"selector_type": "<selector_type>",
"selector_value": "<selector_value>",
"download_kbps": "<download_kbps>",
"upload_kbps": "<upload_kbps>"
},
"name": "plan_client_qos_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional device name to target a specific console; omit for default. | |
| upload_kbps | Yes | Maximum upload bandwidth in kilobits per second. | |
| download_kbps | Yes | Maximum download bandwidth in kilobits per second. | |
| selector_type | Yes | Scope of the policy - "client", "tag", or "group". | |
| selector_value | Yes | Client identity (MAC/IP/hostname) when selector_type is "client", otherwise the tag or group name to expand to clients. |