Start an app from a template
build_app_from_templateUse this when the user picks one of Xenition's app templates (from find_app_templates) and wants their own working copy. Copies the full template into their Xenition workspace and publishes it to a live URL; publishing takes a few minutes and app_status reports the links. To generate a new app from a description instead, use build_app.
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": {
"templateId": "<templateId>"
},
"name": "build_app_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | optional name for the user's copy; defaults to the template's name | |
| templateId | Yes | the template id from find_app_templates, e.g. 'tpl-danceschool' |
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 |