Skip to content

Documentation / @agentick/sandbox-secure-exec / ExecJS

Variable: ExecJS

const ExecJS: RunnableToolClass<{ code: string; }>

Defined in: tools.ts:22

Execute JavaScript code in the sandbox isolate.

Unlike the Bash tool (shell commands), this runs JS directly in the V8 isolate. console.log() outputs to stdout, console.error() to stderr. Node.js built-ins (fs, path, http, etc.) are available via require().

Released under the ISC License.