getSwitch
Retrieve complete switch details and port list for any device by providing its MAC address, enabling quick access to configuration and port status.
Instructions
Get full switch info including portList array by MAC address.
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": {
"switchMac": "<switchMac>"
},
"name": "getSwitch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | ||
| switchMac | Yes |