Rollback Snapshot
story_rollbackRestore a story project to a previous snapshot. Preview the rollback to verify changes, then confirm to revert to a chosen or latest snapshot.
Instructions
Khôi phục dự án về snapshot trước đó từ .story/snapshots/.
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": "story_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false = preview, true = thực hiện rollback | |
| snapshotId | No | ID snapshot cần rollback (bỏ qua để dùng snapshot mới nhất) |