Roll back authoritative logic
rollback_room_logicRoll a room's authoritative logic back to a prior version by re-deploying it as a new version (history stays intact). Omit toVersion to restore the previous 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": {
"roomName": "<roomName>"
},
"name": "rollback_room_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. | |
| roomName | Yes | The room name. | |
| toVersion | No | Version to restore (default: the previous version). |