Restore checkpoint
restore_checkpointReturns the site to an earlier restore point (list_checkpoints). Changes made since the last restore point become a restore point of their own first, so nothing is lost. On a site imported from GitHub the restore is pushed to the user's own Git, which needs Starter and up (get_project ownGit): on Free it answers code_export_plan and nothing is restored.
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": {
"projectId": "<projectId>",
"commit": "<commit>"
},
"name": "restore_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | Yes | ||
| projectId | Yes | Project id from list_projects |