mcp_restore_write_snapshot
Restore a file from a saved write snapshot by supplying its snapshot ID; use dry-run to preview changes or confirm to apply the restore.
Instructions
Restore a file from a write snapshot.
Args:
snapshot_id: Snapshot id from mcp_list_write_snapshots.
confirm: Must be True to restore.
dry_run: Preview the restore without changing the target file.
Returns: Restore acknowledgement or a guard payload.
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": {
"snapshot_id": "<snapshot_id>"
},
"name": "mcp_restore_write_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| dry_run | No | ||
| snapshot_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||