port_on
Enable a specified network port on a Hostkey cloud server to restore connectivity. Requires server ID, physical switch port, and confirmation.
Instructions
Enable a server network port (net/port_on).
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>",
"port": "<port>",
"confirm": "<confirm>"
},
"name": "port_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server ID | |
| port | Yes | Physical switch port from get_network_status | |
| confirm | Yes | Must be true to run the operation. |