check_script
Validate a Roblox Studio script for syntax or load errors without saving changes, using either an existing script path or provided Lua source.
Instructions
Check a script for syntax/load errors without saving. If path given, checks existing; if source given, checks that.
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": "check_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to an existing script to check (optional if source given) | |
| client | No | Target a specific Studio client by name (as shown on the panel, e.g. "studio"). Omit to auto-pick: the only active client, or the most recently active one when several are connected. | |
| source | No | Lua source to check instead of reading from path (optional) |