Publish App
publish_appPublish the app to production: the first publish, a new publish of changes the user wants live, or a custom domain. Read get_guides('publishing') before your first call. A live app publishes at once, nothing to pass or confirm. A first publish (no domain) shows the user the publish form, and nothing publishes until they press Publish. Always publishes live (web, the mobile app when built, payments in Stripe live mode): never ask the user test or live; mobile test builds are started by the user on floot.com. If the owner has not finished Stripe setup (payments) or connected Shippo (shipping), the publish is refused with a card to do it (nothing published): tell the owner to click it, then call publish_app again.
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": {
"projectId": "<projectId>"
},
"name": "publish_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | floot_subdomain only: subdomain label (lowercase, digits, hyphens, max 40). Omit on a live app (it keeps its subdomain); omitted on a first publish, the user gets the publish form; on a published app a different subdomain is refused (unpublish_app first, confirming with the user). Ignored for custom_domain — the wizard collects the domain. | |
| mobile | No | true whenever the request mentions iOS, Android, TestFlight, App Store, Google Play, a native or mobile app, or a phone build. No store connected → a Connect card (nothing published); connected → the web app with the store builds attached. Omitted on a live app follows the saved setting on plans with unlimited app builds and means web-only on metered plans, where true spends one of a small monthly allowance (get_publish_status shows it). true / false also updates the saved setting; omitting leaves it alone. | |
| projectId | Yes | ||
| add_another | No | custom_domain only: the user explicitly asked for an ADDITIONAL custom domain. Without it, a project that already has domains gets those domains back instead of the wizard. | |
| domain_type | No | Omit for the floot subdomain. 'custom_domain' for domain setup — a paid-plan feature (get_publish_status reports `paid`); it fails for free accounts. | |
| include_made_with_floot | No | false removes the 'Made with Floot' badge (paid plans only — fails for free accounts). Omit to keep the current setting. |