checkpoint
Create level state snapshots, diff between versions, and roll back changes with transaction support.
Instructions
Checkpoint and transaction system. Create semantic snapshots of level state, diff between checkpoints, and rollback changes. Actions: create_checkpoint, list_checkpoints, diff_checkpoint, restore_checkpoint, delete_checkpoint, begin_transaction, commit_transaction, rollback_transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Human-readable label for the checkpoint or transaction | |
| action | Yes | begin_transaction auto-creates a checkpoint. commit_transaction keeps it as history. rollback_transaction restores to start state. | |
| metadata | No | Custom metadata to attach to the checkpoint | |
| checkpointId | No | Checkpoint ID (for diff, restore, delete) | |
| toCheckpointId | No | Second checkpoint ID for diff_checkpoint (omit to diff against live state) |