Update app theme
update_app_themeChange the App Theme in the current version's draft, like the dashboard's App Theme screen: colors, text_styles (size, weight, font) and the primary and secondary buttons. Tab bar and navigation bar colors set to a theme color name follow the App Theme colors. A font is a name like "Inter", or "app_font" to use the app's font. Call get_app_theme first and send only what changes; what you leave out stays. 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. A refusal about the merchant's plan: relay it and don't retry. 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_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The application_id recorded in this project's Twinr section. | |
| colors | No | Theme colors to change. Leave out to keep it. | |
| buttons | No | Button styles to change. Leave out to keep it. | |
| text_styles | No | Theme text styles to change. Leave out to keep it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| app_theme | Yes | ||
| next_step | Yes | ||
| version_number | Yes |