app_restore_checkpoint
Restores a project's files from a checkpoint by overwriting design files with a snapshot. Use this to revert changes, with an option to delete files created after the checkpoint.
Instructions
Restore the focused project's files from a checkpoint.
Overwrites design files with the snapshot contents. Close the project
in Altium (or expect a reload prompt) before restoring, since Altium
holds documents open. With prune_added=True this is a true revert:
files created after the checkpoint are deleted; the default leaves
newer files untouched.
Args:
checkpoint_id: id from app_list_checkpoints.
prune_added: delete files absent at checkpoint time (default False).
Returns: {restored, removed, missing_blobs}.
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": {
"checkpoint_id": "<checkpoint_id>"
},
"name": "app_restore_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prune_added | No | ||
| checkpoint_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||