switch_get_ports
Read per-port admin state, link, speed, flow control, LAG, name, and protection from TP-Link Easy Smart switches without mutating. Filter to live links with only_linked=true.
Instructions
Read-only: per-port admin state, link, configured/actual speed, flow control, LAG id, friendly name and whether the port is protected. Set only_linked=true to list only ports with a live link. Does not mutate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "switch_get_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only_linked | No |