list_snapshots
List available undo snapshots for file changes so you can review or revert workspace edits. Optionally filter by file path and set a maximum count.
Instructions
See available undo snapshots for file changes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file path | |
| limit | No | Max snapshots 1..100 |