snapshot_switch
Switch the active code context to a specified snapshot or commit, enabling you to restore historical code facts and mappings for analysis.
Instructions
snapshot switch
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": "snapshot_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | No | ||
| snapshot_id | No | ||
| tool_version | No | ||
| repository_id | No | ||
| target_commit | No | ||
| schema_version | No |