validate_script
Statically check a repo-local Lua script for Roblox BedWars Creative before syncing, catching invalid APIs, events, methods, enums, syntax, and logic errors.
Instructions
Statically check a repo-local Lua script for APIs, event fields, object methods, enums, syntax structure, and logical mistakes.
Context: Use before syncing generated repo-local code. This checks against docs_cache and does not execute Lua.
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": {
"file_name": "<file_name>"
},
"name": "validate_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||