Roll back an OTA release
ota.rollbackTurns off the newest release that is on for a platform and channel; devices on it go back to the release before it (or the bundle built into the app) on their next launch. Needs "confirm": true after the user agrees. Scope: functions:write.
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": {
"platform": "<platform>"
},
"name": "ota.rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch (environment) id. Optional: defaults to `production`. | |
| channel | No | Channel (default production) | |
| confirm | No | Must be true to run a destructive operation, after the user approved it | |
| platform | Yes | Platform to roll back | |
| project_id | No | Project id. Optional: defaults to the project created or used last in this session, or the only one. | |
| organization_id | No | Organization id. Optional: defaults to the token's organization, or the only one you belong to. |