x711_code_sandbox
Execute JavaScript or Python code in an isolated sandbox. Use for: data processing, math, CSV parsing, JSON transformation, crypto calculations, algorithm testing. Secure — no filesystem access, no network. Returns: { output: string, runtime_ms: number, language: string }. Requires API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to execute. Examples: 'console.log(Math.sqrt(144))' or 'print(sum([1,2,3]))'. | |
| language | No | Language to run. Defaults to 'javascript'. |