Deploy an app
deploy_appTrial version, not for production, online for a limited time. Without a key, this first call creates the trial. Builds the code sent (or the GitHub or GitLab repository linked with link_git_repo, or an image) and deploys it to an environment, in place of the previous version; the response gives the version, its address, its build and what changed.
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": "deploy_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | false: returns at once (follow with deploy_app { release }). | |
| image | No | OCI image already built (while registry or external), ideally with its digest. | |
| trial | No | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. | |
| digest | No | sha256:<64 hex>; without it, while resolves it: the image always goes by its digest. | |
| intent | No | Content of while.yaml, when deploying an image without sending sources. | |
| project | No | The project. | |
| release | No | The number returned by an upload (or a version in progress): deploy_app follows its build and its deployment. | |
| language | No | Trial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English. | |
| redeploy | No | A version already built, put back online with today's variables and secrets (after set_env, or to restart an app that went down), without rebuilding. Going back: rollback_app. | |
| environment | No | Production or a preview. | production |
| timeout_seconds | No | Maximum wait; beyond it, the response says how to resume. | |
| confirm_overwrite | No | true: while.yaml overwrites what a person changed on screen. | |
| source_archive_base64 | No | Last resort, slow: the tar.gz archive of the sources, in base64. Exclusive with image and release. |