Add an HTTPS link
create_instance_linkServe one TCP port of a running instance at its own HTTPS link, for a web app or API listening over plain HTTP on 0.0.0.0. Pick who can open it: "workspace" (default: signed-in members of this workspace, who open it from the Runcrate dashboard), "public" (anyone with the URL) or "ips" (only the addresses in sources). Needs no firewall rule. Not for port 22 or Runcrate's own ports; one link a port, up to 10 an instance. Workspace owners and admins, and whoever launched the instance, can add links. An instance started before the firewall existed must be started again first.
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": {
"instance_id": "<instance_id>",
"port": "<port>"
},
"name": "create_instance_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | The port the app listens on, e.g. 8080 | |
| access | No | Who can open it (default workspace) | |
| sources | No | For access "ips" only: IP addresses and CIDR ranges, IPv4 or IPv6 (e.g. ["203.0.113.7"]) | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) | |
| instance_id | Yes | Instance ID |