build_compile_scripts
Compiles project game scripts in a separate headless Flax Editor process and returns structured compiler errors with file, line, code, and message.
Instructions
Compiles the game scripts in a separate headless Flax Editor process, with a time limit of 2 minutes. Returns structured compiler errors (file, line, code, message) from the engine log. The tool fails when a Flax Editor is open on the project. With the editor open, use build_check_scripts to find errors, or editor_compile to compile and reload.
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": "build_compile_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | ||
| exitCode | Yes | ||
| timedOut | Yes | ||
| succeeded | Yes | ||
| errorCount | Yes |