port_set_admin_state
Enable or disable a switch port with no shutdown or shutdown commands; does not save the configuration.
Instructions
Enable or disable a switch port (no shutdown / shutdown). Does not save.
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>",
"enabled": "<enabled>"
},
"name": "port_set_admin_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |