Set Web Ports
set_web_portsConfigure the router's web management HTTP and HTTPS ports, and enable forced HTTPS redirection to secure admin access.
Instructions
设置 Web 管理端口
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_web_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| http_port | No | HTTP 端口 (默认 80) | |
| https_port | No | HTTPS 端口 (默认 443) | |
| force_https | No | 是否强制 HTTPS |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||