switch_show_mac_table
Retrieve a switch's MAC address table, optionally filtered by VLAN, to view which devices are connected to each network segment.
Instructions
Show MAC address table on a switch
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_id": "<device_id>"
},
"name": "switch_show_mac_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vlan | No | Filter by VLAN ID (optional) | |
| device_id | Yes | Switch device ID |