build_onyx_code
Compile Onyx code into executable files by specifying code, directory, and timeout. Simplifies building Onyx projects directly within your workspace.
Instructions
Build Onyx code file using "onyx build" in a specified directory
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Onyx code to build | |
directory | No | Directory to build in (defaults to current working directory) | . |
filename | No | Filename for the Onyx file | main.onyx |
timeout | No | Build timeout in seconds |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Onyx code to build",
"type": "string"
},
"directory": {
"default": ".",
"description": "Directory to build in (defaults to current working directory)",
"type": "string"
},
"filename": {
"default": "main.onyx",
"description": "Filename for the Onyx file",
"type": "string"
},
"timeout": {
"default": 30,
"description": "Build timeout in seconds",
"type": "number"
}
},
"required": [
"code"
],
"type": "object"
}