script_check
Compile Roblox scripts to detect syntax errors and statically catch require() cycles, broken paths, and GetService() typos, with optional luau-analyze and selene checks when synced.
Instructions
Compile every script (or those under given paths) for syntax errors AND statically check require() cycles, broken require() paths, and GetService() typos. Optionally runs local luau-analyze/selene if synced.
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": "script_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Optional local sync directory for luau-analyze / selene checks. | |
| mode | No | full (default): syntax + require/GetService static checks; syntax: syntax only. | |
| paths | No | Only scripts under these instance paths. | |
| studio | No | Optional. Target Studio (name substring, place id or id). Only needed when several Studios are open and none was selected. |