Read an app's web address
app_hostThe HOST an app has, or will have once deployed: <shortcode>.<app domain>, the shortcode derived from the app id <account>/<app> the way the platform names hosts, so an app's origin and OAuth callbacks are known before its first deploy (the auth package's secrets need them). Answers {app, host, origin, derived, callback_urls}; callback_urls are the auth package's GitHub and Google callbacks under its default /auth prefix. app is your app's name (the account comes from your bearer) or a full '/' id. After a deploy, build_status and list_apps report the host the platform assigned; where they differ, theirs is right.
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": {
"app": "<app>"
},
"name": "app_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | the app's name as in your spec, or '<account>/<app>' | |
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused |