list_snapshots
List undo snapshots captured automatically before risky commands, sorted newest first, to review and restore previous file states.
Instructions
List undo snapshots captured before risky commands, newest first.
Snapshots are taken automatically by the PreToolUse hook before a
medium-or-higher risk command and stored under
<project_root>/.blast-scope/snapshots.
Args: project_root: The project root the snapshots were taken under.
Returns:
{"snapshots": [{id, created, reason, paths}, ...]}.
Example::
list_snapshots("/home/user/my-project")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes |