ecp_network_update_port_maps
Update port mappings and nginx config to adjust site routing for a domain. Specify domain, host and guest ports, and optional HTTPS.
Instructions
Update a port mapping and its nginx config. Can affect site routing.
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": {
"domain": "<domain>",
"host_port": "<host_port>",
"guest_port": "<guest_port>"
},
"name": "ecp_network_update_port_maps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| https | No | ||
| domain | Yes | ||
| host_port | Yes | ||
| guest_port | Yes | ||
| description | No |