Weavz
JavaScript Sandbox

JavaScript Sandbox

Run lightweight JavaScript in a restricted sandbox for pure data transformation and computation. No auth, network, filesystem, or imports.

1 tool
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
run_code

Execute JavaScript code in a restricted sandbox. No network, no filesystem, no imports — pure data transformation.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('code', 'run_code', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'code',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect JavaScript Sandbox to my app?

JavaScript Sandbox does not require an external account connection. Install the SDK, add the integration to a workspace, then execute tools programmatically.

What tools does JavaScript Sandbox support?

JavaScript Sandbox supports 1 tools including Run Code.

Can I use JavaScript Sandbox with AI agents?

Yes. Add JavaScript Sandbox to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect JavaScript Sandbox to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add JavaScript Sandbox as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped JavaScript Sandbox tools exposed by that workspace.

Does JavaScript Sandbox work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved JavaScript Sandbox work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with JavaScript Sandbox?

JavaScript Sandbox exposes 1 tools, including Run Code. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can JavaScript Sandbox be used in stateful agent workflows?

Yes. Agents can combine JavaScript Sandbox tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does JavaScript Sandbox use?

JavaScript Sandbox does not require external authentication.

How much does the JavaScript Sandbox integration cost?

The JavaScript Sandbox integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

Connect JavaScript Sandbox in minutes

Get 20,000 free action executions every month. No credit card required.