put_switch_port_id
Update switch port configuration for a given port id, adjusting duplex and speed settings.
Instructions
Update 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__path": "<id__path>"
},
"name": "put_switch_port_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id__path | Yes | (Path parameter) | |
| id | No | switch port id | |
| duplex | No | Values: `auto`: auto negotiate duplex mode; `half`: force in half duplex mode; `full`: force in full duplex mode | |
| speed | No | Values: `auto`: auto negotiate speed; `10`: 10Base-T; `100`: 100Base-TX; `1000`: 1000Base-T |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||