Roll back a data file
rollback_dataRestore a backed-up copy of one RPG Maker MZ file to undo changes. Revert the newest edit or a specific backup number from list_backups.
Instructions
Restore a backed-up copy of one file. table takes the same identifier list_backups prints: a database name like System, a map as Map037 or 37, or a project-relative path like js/plugins.js. Without to this reverts the newest change (or the one before it, when the newest already matches what is on disk); with to it restores a specific backup number from list_backups, where 0 is the oldest. For undoing several of your own recent edits across files, prefer undo_writes.
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": {
"table": "<table>"
},
"name": "rollback_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Backup number from list_backups (0 = oldest); omit for the newest change | |
| table | Yes |