runtime_ports
Public address:port pairs for raw TCP to a sandbox (databases, game servers, anything not HTTP). open(sandboxId, port): Returns the public address:port. Idempotent per sandbox and port. Needs a kept top-up. list(sandboxId?): The open ports, or one sandbox's. close(portId): Close one by portId; its open connections are closed before this answers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The port your server listens on inside the sandbox. | |
| action | Yes | ||
| portId | No | ||
| sandboxId | No | The sandbox that serves it. |