Make a version live
neme_promoteMake an already uploaded game version live for players, such as an approved preview or a rollback. It uploads nothing else, and calling it again with the previous version reverses the switch.
Instructions
Make a version that is already uploaded the one players get: a preview the developer has approved, or an earlier version to roll back to. It uploads nothing (neme_publish does that) and leaves the title, cover and other details as they are. Players move to that version at once; the version they were on is kept, so calling this again with its number undoes it. Find numbers with neme_versions. Uses the same token as neme_publish. Returns the version now live, the game's link and a README badge line to offer the developer. Fails, changing nothing, if there is no such version.
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": {
"version": "<version>"
},
"name": "neme_promote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | The project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder. | |
| version | Yes | The version's number, as neme_versions lists it (v3 is 3). |