Publish files
publish_filesPuts an app online from its files, with no GitHub needed. Use this when the person has the app's files here in the chat (for example a single-page HTML app you wrote) rather than in a GitHub repository. Send every file the app needs: an index.html at the top level for a website, or a package.json for a Vite or React project. Up to 50 files and 2 MB in total; web files only (HTML, CSS, JavaScript, TypeScript, JSON, SVG, images, fonts). Never include secret keys or .env files: Utplava refuses the upload. Ask the person for keys later and save them with set_env. For a new app pass name; to update an app published this way, pass its appId and the complete new set of files (files left out are removed). Returns the app ID and deployment status; check get_status for the live address.
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": {
"files": "<files>"
},
"name": "publish_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A short name for a new app, e.g. "Bakery site". Omit when passing appId. | |
| appId | No | The app to update. Only apps published with publish_files can be updated this way. | |
| files | Yes |