app_checkpoint
Snapshot the focused project's design files before risky autonomous edits so every change stays revertible; restore the saved checkpoint later if needed.
Instructions
Snapshot the focused project so the session is revertible.
Copies the project's design files into a content-addressed store under
the workspace (unchanged files are deduplicated, so repeat checkpoints
are cheap). Take one before any risky autonomous edit; restore with
app_restore_checkpoint. This is the undo the live bridge otherwise
lacks.
Args: label: optional human note ("before routing pass"). save_first: flush dirty Altium docs to disk before snapshotting so the checkpoint reflects in-editor changes (default True).
Returns:
The checkpoint manifest summary (id, created, file_count, ...).
With save_first, also saved: True when the flush
worked, False with save_error and a note when it did
not. A checkpoint is still taken either way, but one taken
after a failed save holds the on-disk state only, which is
missing precisely the in-editor work you were protecting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| save_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||