Create app version
create_app_versionCreate a new app version, which becomes the version the dashboard opens and builds use. Its draft copies the current one. Call it only with a version number the merchant gave, after explaining why a new version is needed. Never make one up; you may suggest the next patch number. Numbers use digits and dots and must be higher than the current version. Changes in the new version reach users only after a build and a store release. Relay the reply's message. If you created it to make a change, make that change first and follow that reply's next_step. 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>",
"version_number": "<version_number>"
},
"name": "create_app_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The application_id recorded in this project's Twinr section. | |
| version_number | Yes | The version number the merchant chose, e.g. 1.0.8. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| next_step | Yes | ||
| version_number | Yes |