Restore an app version
restore_appRoll back an app to an earlier checkpoint when a newer edit breaks the UI. Restores that checkpoint as a new current version, preserving history.
Instructions
Roll an app back to one of its earlier checkpoints: re-saves that checkpoint's HTML as a NEW current one (nothing is lost — history is preserved and you can roll forward again). Use when a newer edit broke the UI. Get the checkpoint number from list_app_checkpoints; after restoring, open_app to view it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| checkpoint | Yes | which checkpoint to restore, 1 = the oldest (see list_app_checkpoints) | |
| command_id | No | idempotency key (uuid); auto-generated if omitted |