restore_snapshot
Undo a risky command by restoring a snapshot's files in place. Overwrites current files with archived copies using snapshot id and project root.
Instructions
Undo a risky command by restoring a snapshot's files in place.
Overwrites whatever currently exists at each snapshotted path with the
archived copy. Use list_snapshots to find the id.
Args: snapshot_id: The snapshot id to restore. project_root: The project root the snapshot was taken under.
Returns:
{"status": "restored", "paths": [...]} or an error entry.
Example::
restore_snapshot("20260530T101500-a1b2c3", "/home/user/my-project")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | Yes | ||
| project_root | Yes |