wp_rollback_snapshot
Restore a WorldPainter .world snapshot to a new copy by default, or overwrite the original file only when explicitly enabled.
Instructions
Restore a snapshot to a new .world copy by default; original overwrite requires explicit opt-in.
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": "wp_rollback_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | ||
| snapshot_id | Yes | ||
| overwrite_original | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||