restore_from_mirror
Restore a missing or overwritten Roblox Studio instance from the on-disk mirror or its history by Studio path, with optional version selection and controlled replacement.
Instructions
Bring one instance back into the edit copy from the on-disk mirror or its .history, by Studio path (e.g. StarterGui.MineGui, StarterGui.FarmGui.Toasts, ReplicatedStorage.Mining.SomeModule). Works for anything inside a mirrored unit and for scripts. Without version it tries the live mirror file first, then history copies newest first, and uses the first one that still holds the path. One undo entry. Refuses to overwrite an existing same-named instance unless replace=true. Use mirror_history to pick a version.
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": {
"path": "<path>"
},
"name": "restore_from_mirror"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Studio path of the instance to restore | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| replace | No | destroy an existing instance with the same name and class first | |
| version | No | history stamp from mirror_history, or 'current' for the live mirror file only | |
| parentPath | No | put it under this parent instead of its original spot |