run_onyx_code
Execute and debug Onyx code to test output and errors with customizable execution timeout and optional filename support for efficient programming.
Instructions
Execute Onyx code and return the output/errors for testing and debugging
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Onyx code to execute | |
filename | No | Optional filename (defaults to temp.onyx) | temp.onyx |
timeout | No | Execution timeout in seconds |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Onyx code to execute",
"type": "string"
},
"filename": {
"default": "temp.onyx",
"description": "Optional filename (defaults to temp.onyx)",
"type": "string"
},
"timeout": {
"default": 10,
"description": "Execution timeout in seconds",
"type": "number"
}
},
"required": [
"code"
],
"type": "object"
}