Restore Checkpoint
restore_checkpointRevert a QGIS project to a checkpoint, discarding every change and uncommitted edit since it while retaining the file name and leaving the project unsaved.
Instructions
Put the project back as it was at a checkpoint: every change since, and any uncommitted edit, is discarded. The project keeps its file name and is left unsaved. Memory layer features come back with new feature ids. Layers whose source is missing are kept as unavailable and listed in 'unavailable_layers'. export_session afterwards replays the restored state, not the undone steps.
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": "restore_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpoint_id | Yes |