Publish an app
deploy_appUse this when the user wants their built Xenition app published to a live URL. Deploys the app from build_app (it must have finished building — check app_status) and returns right away; deploying takes a few minutes, and app_status reports the live URLs. Publishing makes the app reachable by anyone with the link, so only do it when the user asks.
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": {
"artifactId": "<artifactId>"
},
"name": "deploy_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifactId | Yes | the app's id from build_app (or search_artifacts) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| error | No | ||
| files | No | ||
| phase | No | ||
| apiUrl | No | ||
| status | Yes | ||
| liveUrl | No | ||
| openUrl | No | ||
| mobileUrl | No | ||
| artifactId | Yes |