get_switch_port_id
Retrieve the configuration of a specific switch port by providing its port ID.
Instructions
Get the SwitchPortConfig for the given port id
Error codes: bad_port, bad_speed, bad_link, bad_mac_entry_type
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": {
"id": "<id>"
},
"name": "get_switch_port_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||