All templates
Template·Text & Data

Run JavaScript in a Sandbox

Execute a JavaScript snippet and capture stdout. Same escape hatch as the Python runner, for when the logic is easier to express in JS. Runs locally - no model, no key, no cost.

Run JavaScript in a Sandbox — example output from the NodeTool workflow

The workflow

Workflow Editor
Execute Java Script
Stdout
Output

Nodes in this workflow

2 nodes · 2 types
  • Execute Java Script
    nodetool.code.ExecuteJavaScript
  • Output
    nodetool.output.Output

How to run it

  1. 01

    Download NodeTool Studio

    Install the free desktop app for macOS, Windows, or Linux. It runs on your own machine, no account required to start.

  2. 02

    Open the Run JavaScript in a Sandbox template

    Browse the built-in template library inside Studio and open this workflow onto the canvas. Every node is already wired up.

  3. 03

    Add your keys

    Connect any model providers this workflow calls with your own API keys, or point it at local models.

  4. 04

    Run and remix

    Hit Run to execute the graph and watch results stream in. Swap models, edit prompts, or rewire nodes to make it yours.

Run Run JavaScript in a Sandbox on your machine

Free, open source, and yours to run. Download Studio, open the template, and run it with your own keys.