run_cable_test
Tests cable quality and estimates length on specified switch ports, returning per-port status and estimated length in meters to diagnose open, short, or crosstalk faults.
Instructions
Start cable diagnostics (TDR test) on specified ports and return results.
Tests cable quality and estimates length. Returns per-port results immediately: status (NOT_TESTED, NO_CABLE, NORMAL, OPEN, SHORT, OPEN_SHORT, CROSSTALK) and length_m (estimated cable length in meters).
Args: ports: Port numbers to test (1-16).
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": {
"ports": "<ports>"
},
"name": "run_cable_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |