pt_read_qos
Reads a Packet Tracer device's actual QoS configuration, including class-maps and policy-maps, to verify that applied QoS settings match intent. Use it after configuring QoS to confirm classes, priority, and bandwidth.
Instructions
Reads a device's REAL QoS configuration: class-maps and policy-maps.
Read only (PT's API cannot create class/policy-maps): to CONFIGURE QoS use pt_apply_qos. This tool checks that it was applied.
Returns, per class-map, its match type and CLI; per policy-map, its classes in order, each with its name, priority (kbps), bandwidth (kbps), fair-queue and whether it is class-default. PT does not give a class its name, so names come from the running-config, matched by position.
Parameters:
device: router name in PT.
Example: pt_read_qos(device="R1")
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": {
"device": "<device>"
},
"name": "pt_read_qos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes |