read_directory_script
Read Roblox BedWars Creative Lua scripts from a project's scripts/ or drafts/ folder to inspect them before editing, validating, or syncing.
Instructions
Read a Lua script from an outside folder project's scripts/ or drafts/ folder.
Context: Use to inspect user project scripts before editing, validating, or syncing. This replaces PowerShell Get-Content for project Lua files.
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": {
"directory": "<directory>",
"file_name": "<file_name>"
},
"name": "read_directory_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | ||
| directory | Yes | ||
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||