connect
Forward a public URL to a local port for testing web applications. Use the active account from 'pie login' to create tunnels like https://my-app.yourdomain.com → localhost:3000.
Instructions
Start a tunnel that forwards a public URL to a local port. Uses the active account from 'pie login'. Example: connect port 3000 with subdomain 'my-app' to get https://my-app.yourdomain.com → localhost:3000.
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": {
"port": "<port>"
},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Local port number to forward to (e.g. '3000', '8080') | |
| subdomain | No | Subdomain name for the public URL (empty = auto-assigned) |