Restore an app version
restore_appRoll an app back to an earlier checkpoint to fix a broken UI, preserving history so you can roll forward again.
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 app_history; 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 app_history) | |
| command_id | No | idempotency key (uuid); auto-generated if omitted |