Restore backup
restore_backupRestore one RPG Maker MV project file or every file from a backup session to undo unwanted changes; the current state is backed up first, and the RPG Maker editor must be closed.
Instructions
Restore project files from a backup session (see list_backups). Restores one file (project-relative path like 'data/Actors.json') or, with no file given, every file in the session. The current state is itself backed up first, so a restore can be undone. Refused while a changeset is open (commit or discard it first). The RPG Maker editor must stay closed while files are restored.
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": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Project-relative file to restore; omit to restore all files in the session | |
| session | No | Backup session name from list_backups; defaults to the most recent |