Update tab bar
update_tab_barChange the Tab Bar in the current version's draft, like the dashboard's Tab Bar screen. A color given as a theme color name follows the App Theme colors. A field only applies to some styles: show_titles to default and indicator; selected and unselected colors and fonts to default and indicator with titles shown (selected ones also to flashy and sliding); tab_background_color and border_color to sliding; corner_radius to sliding and floating; indicator_color to indicator and floating; indicator_type and indicator_position to indicator. Send style together with the fields it needs. 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_tab_bar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Leave out to keep it. | |
| app_id | Yes | The application_id recorded in this project's Twinr section. | |
| icon_width | No | In points, 15 to 30. Leave out to keep it. | |
| icon_height | No | In points, 15 to 30. Leave out to keep it. | |
| show_titles | No | Leave out to keep it. | |
| border_color | No | A theme color name or a color with hex and opacity. Leave out to keep it. | |
| corner_radius | No | In points, 0 to 50. Leave out to keep it. | |
| selected_font | No | A font name like Inter, or app_font. Leave out to keep it. | |
| indicator_type | No | Leave out to keep it. | |
| selected_color | No | A theme color name or a color with hex and opacity. Leave out to keep it. | |
| indicator_color | No | A theme color name or a color with hex and opacity. Leave out to keep it. | |
| unselected_font | No | A font name like Inter, or app_font. Leave out to keep it. | |
| background_color | No | A theme color name or a color with hex and opacity. Leave out to keep it. | |
| unselected_color | No | A theme color name or a color with hex and opacity. Leave out to keep it. | |
| indicator_position | No | Leave out to keep it. | |
| tab_background_color | No | A theme color name or a color with hex and opacity. Leave out to keep it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| tab_bar | Yes | ||
| next_step | Yes | ||
| version_number | Yes |