tenki_create_preview_url
Generate a public preview URL to expose a TCP port from a sandbox, using a custom slug and optional expiration time for secure sharing.
Instructions
Create a shareable public preview URL for a port in a sandbox. The sandbox must have inbound networking enabled (create it with allow_inbound).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | The TCP port inside the sandbox to create a preview URL for (1-65535). | |
| slug | Yes | Subdomain slug for the preview URL (3-63 chars, lowercase letters/digits/hyphens, no leading/trailing hyphen). | |
| expires_at | No | Optional RFC-3339 timestamp at which the preview URL auto-expires. Omit to keep it until the sandbox ends. | |
| session_id | Yes | The sandbox session serving the port. |