Run AILANG code (sandboxed)
ailang_runRun AILANG source in the hosted sandbox. Entry point is main, with no
arguments. Only the IO capability is granted (println works; FS, Net,
Process, Env and AI are refused by name before the program starts), and the
run is killed at the policy timeout. stdout is the program's output; stderr
carries the policy decision JSON.
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": "ailang_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |