Create upstream
create_upstreamCreates an upstream: the app that custom domains forward traffic to. Requires an active subscription.
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": {
"host": "<host>"
},
"name": "create_upstream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | No | Whether the proxy connects to your app over TLS. Defaults to true. Set false with port 80 for plain HTTP. | |
| host | Yes | Host of your app, for example `app.mysaas.com`. Can't be a wildcard or used by another upstream. | |
| port | No | Port your app listens on. Defaults to 443. | |
| account | No | Account name or UUID. Can be left out when you only have one account. | |
| bubble_io | No | Whether the app is a Bubble.io app. Defaults to false. | |
| geocoding_enabled | No | Add geolocation headers (`X-SaaS-GeoIp-*`) to forwarded requests. Defaults to false. | |
| compression_enabled | No | Compress responses over 512 bytes with gzip or zstd. Defaults to true. |