manage_sync
Manage two-way sync between Roblox Studio and local files. Export scripts to disk, read/write synced files, and review sync history, directions, and progress.
Instructions
Sync between Studio and the local filesystem. Actions: export_scripts (dump every script source under a path to ./sync// on disk), status / status_current_place (place + sync dir + last export), history (recent sync operations), directions (get or set per-type sync directions), read_file (read a synced script file by instancePath), write_file (write content to the synced file AND apply it to the Studio script), progress (last export stats).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Root to export from (default game) | |
| limit | No | history: max entries (default 50) | |
| action | Yes | ||
| outDir | No | Output directory (default ./sync) | |
| content | No | New file content for write_file | |
| directions | No | directions: set map, e.g. {scripts: 'studio_to_file'} | |
| instancePath | No | Script instance path for read_file/write_file, e.g. game.ServerScriptService.Main |