Update app settings
update_app_settingsChange App Settings in the current version's draft, like the dashboard's App Settings screen. Send only the options to change. The defaults suit most apps: explain an option when the merchant asks about it, and change one only when they ask. portrait_mode locks every screen upright; prevent_sleep keeps the screen awake while the app is open (scanners, kiosks); webview_zoom lets customers pinch-zoom the site (leave off for responsive sites). These three can reach installed apps over the air, without a build. ipad_support publishes a tablet-ready iOS app (off removes it from iPad) and needs a new iOS build. min_android_version is the lowest Android API level the app installs on and needs a new Android build. A refusal saying a newer app version is needed: offer a new version, asking the merchant for its number, then call create_app_version and this tool again. Always relay the reply's message. When the reply has a next_step, first ask whether there's anything else to change, since one publish or build covers every change so far. Then for publish, offer publish_changes; for build, offer start_build; for subscribe, relay the message and offer neither. If you made a change earlier in this conversation that needs a build, offer a build instead of a publish. Never call publish_changes or start_build unprompted. If this project's Twinr section (replit.md on Replit, otherwise AGENTS.md) has no application_id, call list_apps, show the merchant every organization and its apps, and ask which app this project is. Never choose one yourself, and never infer it from the project's name or URL. Then record it in the project's Twinr section. Before calling this tool, tell the merchant which app you are changing by name, e.g. "Updating the icon for Shop Name…".
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": {
"app_id": "<app_id>"
},
"name": "update_app_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The application_id recorded in this project's Twinr section. | |
| ipad_support | No | Leave out to keep it. | |
| webview_zoom | No | Leave out to keep it. | |
| portrait_mode | No | Leave out to keep it. | |
| prevent_sleep | No | Leave out to keep it. | |
| min_android_version | No | Lowest Android API level, e.g. 24 for Android 7. Leave out to keep it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| settings | Yes | ||
| next_step | Yes | ||
| version_number | Yes |