restore
Reverts a named snapshot checkpoint by replacing the original child under its parent or a custom parentPath; recorded as one Studio undo step and the snapshot remains available for reuse.
Instructions
Put a snapshot checkpoint back: destroys the child with the original name under the original parent, then clones the checkpoint into its place. Recorded as one Studio undo step, and the snapshot is kept so you can restore it again. Use list_snapshots to find names. For script files tracked in git use git_restore or git_recover; for instances saved by the disk mirror use restore_from_mirror.
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": {
"name": "<name>"
},
"name": "restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Snapshot name, as shown by list_snapshots. | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| parentPath | No | Restore under this parent instead of the original one (dot path, e.g. "ServerStorage.Backup"). The first child there with the original name is replaced. |