Запустити NyxilumLang-код
nyxilum_runCompile and execute NyxilumLang (.nx) code in an isolated sandbox with configurable timeout and GC allocation limits, returning stdout and exit codes for safe automated testing.
Instructions
Компілює й виконує довільний NyxilumLang (.nx) код у пісочниці (окремий процес, timeout, ліміт GC-виділень). Помилки виконання (Runtime Error/Parse Error) з'являються у полі stdout з exitCode=1, а НЕ в stderr.
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": {
"code": "<code>"
},
"name": "nyxilum_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Вихідний код NyxilumLang для запуску | |
| timeout_ms | No | Таймаут виконання в мілісекундах (100–60000, типово 10000) | |
| gc_max_objects | No | Ліміт кількості NyxilumLang-виділень (масиви/структури/мапи); типово 5000000. НЕ зупиняє чисті нескінченні цикли без виділень — від них захищає лише timeout. |