create_app
Publishes a new app from html or zipBase64. The first time you publish, the person approves you once in their browser, with or without a noback account; nothing is needed before. Without credential it doesn't publish: it returns status approval_needed, connect (url, code, pollKey) and next. Then, by yourself: open connect.url in the person's browser (open on macOS, xdg-open on Linux, start on Windows, or navigate there if you have a browser), or if you can't, show them that link in one line in the language of the conversation; call connect_status with pollKey (it waits until they approve; call it again while it says pending); as soon as it says approved, call this tool again with the same content and credential: token. Don't ask the person to type anything. Same checks as validate_app. Once published it returns appId, version, openUrl, message and warnings: tell the person message in the language of the conversation. Keep appId for update_app; don't create another app for changes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The complete contents of ONE HTML file, with its CSS and JS inline. Don't add the noback SDK by hand: noback injects window.app. Send html or zipBase64, not both. | |
| name | No | Optional name for the app, shown to the people who use it (e.g. "Family groceries"). | |
| zipBase64 | No | A complete .zip package encoded in base64, instead of html: index.html at the root, an optional noback.toml, plus scripts, styles and files. Send html or zipBase64, not both. | |
| credential | No | The token connect_status returned after the person approved you. Send it on every create_app and update_app in this conversation (or as the header Authorization: Bearer <token>). Leave it out the first time: create_app then asks for approval. Never show it to the person or put it in an app. |