Theme rollback
theme_rollbackRestore a custom theme's code to an earlier commit (Pro plan). It is saved as a new commit, so the rollback itself can be undone; on the live theme it goes live once compiled. Without commit, restores the version before the latest change.
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": {
"business_id": "<business_id>",
"theme_id": "<theme_id>"
},
"name": "theme_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | Commit hash from theme_history | |
| theme_id | Yes | A theme id from theme_list (or the system theme id lokand-base) | |
| business_id | Yes |