Create TCP Mapping
create_tcp_mappingExpose a Cube TCP port on the host and control access by specifying allowed IPs or CIDRs, enabling secure external connections to services running inside the Cube.
Instructions
Expose a Cube TCP port on the host, optionally restricted to specific IPs/CIDRs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cubeId | Yes | The Cube id to operate on. | |
| spaceId | No | Krova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default. | |
| cubePort | Yes | The in-Cube port to expose. | |
| whitelistIps | No | Deprecated alias for whitelistedIps. Accepted so existing agent prompts keep working; prefer whitelistedIps. | |
| whitelistedIps | No | Optional IP/CIDR allow-list restricting who can reach the mapping. |