create_port
Expose a container's internal port by publishing it directly on the host, enabling raw TCP/UDP access for databases, games, or other non-HTTP services.
Instructions
Publica uma porta de um serviço no host (port mapping), expondo-a externamente sem passar pelo proxy/domínio. Útil para TCP/UDP brutos (bancos, jogos, etc). Aplica no próximo deploy. ⚠️ Portas privilegiadas (publishedPort < 1024, ex: 80/443/22) exigem confirm: "CONFIRMO".
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": {
"projectName": "<projectName>",
"serviceName": "<serviceName>",
"publishedPort": "<publishedPort>",
"targetPort": "<targetPort>"
},
"name": "create_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Obrigatório apenas para publishedPort < 1024. Deve ser "CONFIRMO". | |
| protocol | No | Protocolo (default: tcp) | |
| targetPort | Yes | Porta interna (no container) | |
| projectName | Yes | Nome do projeto | |
| serviceName | Yes | Nome do serviço | |
| publishedPort | Yes | Porta externa (no host) |