list_snapshots
List undo snapshots captured before risky commands, newest first. Provide a project root to view automatic backups taken before medium-or-higher risk shell commands.
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")
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": {
"project_root": "<project_root>"
},
"name": "list_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes |