Compile install.lua
cmo_compile_loaderCompile a project's install.lua loader after validating the project. The generated script removes and recreates events, triggers, and Lua actions when run once in Command Lua.
Instructions
Write install.lua for a project. Run that file once in the Command Lua console with the scenario loaded. It removes and recreates the project's events, triggers, and Lua actions. Validate first; compilation is refused when the project has errors.
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>"
},
"name": "cmo_compile_loader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Project folder |