tenki_expose_port
Get a public preview URL by exposing a sandbox port, so web servers started by agents can be viewed immediately.
Instructions
Expose a port from a sandbox and get a public preview URL. Useful when an agent starts a web server it wants to show.
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": {
"session_id": "<session_id>",
"port": "<port>"
},
"name": "tenki_expose_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | TCP port inside the sandbox (1-65535). | |
| slug | No | Subdomain slug for the preview URL (3-63 chars, lowercase letters/digits/hyphens, no leading/trailing hyphen). | |
| session_id | Yes | Sandbox session id (UUID), from tenki_create_sandbox or tenki_list_sandboxes. |