Revert an OtaKit release
revert_releaseRevert the reviewed current release for its exact lane; if rolling out, the revert cancels the rollout. Requires expected state and an idempotency key, and reports pending manifest sync.
Instructions
Revert the reviewed current release for its exact lane; reverting a release that is rolling out cancels the rollout. Requires expected state and an idempotency key and reports pending manifest synchronization truthfully.
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": {
"releaseId": "<releaseId>",
"expectedCurrentReleaseId": "<expectedCurrentReleaseId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "revert_release"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | OtaKit app ID. Optional on a local connection whose project configures one; required otherwise. | |
| releaseId | Yes | OtaKit release ID | |
| forceImmediate | No | Make devices apply and reload on their next check | |
| idempotencyKey | Yes | Stable key reused only when retrying this exact mutation | |
| expectedRolloutPercent | No | When cancelling a rollout: the rollout percentage that was reviewed. The revert is refused if the rollout changed or completed meanwhile. | |
| expectedCurrentReleaseId | Yes | OtaKit release ID |