sync_pull
Export Roblox Studio scripts to a local folder for reading, editing, and grepping with normal file tools. Re-running rewrites only changed files and creates .studio conflict copies instead of overwriting edits.
Instructions
Export the place's scripts to a local folder (Rojo-style: .server.luau / .client.luau / .luau) so you can read/edit/grep them with your normal file tools. Safe to re-run: only changed files are rewritten; files edited on both sides produce a .studio conflict copy instead of being overwritten.
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": "sync_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Local folder. Default ./roblox-src (or RBX_SYNC_DIR). | |
| force | No | Overwrite local edits / rebind folder to another place. | |
| paths | No | Only these subtrees, e.g. ['ServerScriptService']. | |
| studio | No | Optional. Target Studio (name substring, place id or id). Only needed when several Studios are open and none was selected. | |
| sourcemap | No | Also generate Rojo-compatible sourcemap.json for Luau LSP / luau-analyze. |