port_set_description
Set or clear a switch interface description, with a dry run by default. Refused on protected ports; caution ports require explicit confirmation.
Instructions
Set an interface description, or clear it when text is omitted.
Refused on protected ports (SWITCH_PROTECTED_PORTS; unset or invalid list refuses every port); caution ports (SWITCH_CAUTION_PORTS) need confirm_caution_port=true. dry_run=true (default) only shows the commands and current state. Does not save.
SWITCH_PROTECTED_PORTS is unset or invalid: port writes that check it are refused on every port (fail-closed). Caution ports (SWITCH_CAUTION_PORTS): none.
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": {
"port": "<port>"
},
"name": "port_set_description"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| text | No | ||
| dry_run | No | ||
| confirm_caution_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |