스냅샷 복원
hwp_restoreRestore an HWP/HWPX document to a saved snapshot by snapshot ID. Backs up the current file first, then performs an atomic replacement to keep edits reversible.
Instructions
hwp_history에서 확인한 snapshot_id 로 문서를 복원합니다. 복원 전 현재 파일도 스냅샷으로 백업한 뒤 원자 교체합니다. file_path는 절대 경로 권장.
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": {
"file_path": "<file_path>",
"snapshot_id": "<snapshot_id>"
},
"name": "hwp_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| file_path | Yes | ||
| snapshot_id | Yes | ||
| expected_sha256 | No |