Change an app
edit_appUse this when the user wants to change an app they built in Xenition — add a feature, change a screen, restyle it, fix something — described in plain words. Rewrites the affected files and saves a new version of the app. If the app is already live, the change is not published until deploy_app is called again. The app must have finished building (check app_status).
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>",
"instruction": "<instruction>"
},
"name": "edit_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifactId | Yes | the app's id from build_app, build_app_from_template or search_artifacts | |
| instruction | Yes | the change in plain words — e.g. 'add a dark mode toggle', 'make the booking form ask for a phone number' |
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 |