Skip to main content
Get started with Jinba Toolbox by opening your organization, building a ToolSet, writing a tool, and executing it in a sandbox environment.

What You’ll Build

A simple ToolSet containing a tool that:
  1. Accepts a text input
  2. Processes it in an isolated sandbox
  3. Returns structured output

Prerequisites

  • A Jinba Toolbox account (Sign up here)
  • No local setup required — everything runs in the cloud

Steps

1

Sign in and open your Organization

Go to toolbox.jinba.io and sign in to your account.After signing in, the dashboard lists Your Organizations. An Organization is the ownership unit for all your ToolSets and team members. Organizations and their members are managed in JinbaAuth, not in the Toolbox console — an organization appears here once you have been invited to it.
  1. Click the organization you want to work in
  2. You land on its Tool Sets page
The organization ID (visible in the URL as /org/{orgId}/...) is what you use in API URLs and MCP endpoints.
2

Create a ToolSet

A ToolSet is a collection of related tools with a shared execution environment — similar to an npm package or a Docker image.
  1. Navigate to Tool Sets in the organization sidebar
  2. Click “New Tool Set”
  3. Fill in the details:
    • Name: e.g., Text Utils (the Slug, e.g. text-utils, is generated from the name and can be edited)
    • Description: e.g., “Text processing utilities”
    • Visibility: Private (default) or Public
    • Provider: E2B
    • Language: Choose Python or TypeScript
    • Timeout (seconds): optional, default 900 (max 3600)
  4. Click “Create Tool Set”
3

Write your first Tool

A Tool is an individual executable unit inside a ToolSet. Each tool has an input schema, output schema, and code. The schemas are not entered separately — they are extracted from the input and output definitions in your code every time you save.
  1. Open your newly created ToolSet
  2. Click “Add Tool”
  3. Configure the tool:
    • Name: Word Count (the Slug word-count is generated from the name)
    • Description: “Counts words in a given text”
  4. Click “Create Tool” — the tool editor opens
  5. Replace the starter template with the tool code (TypeScript):
  1. Click “Save” (or press Cmd/Ctrl + S). The input and output JSON Schemas are generated from the Zod definitions on save.
4

Test the Tool

Before publishing, test your tool to make sure it works correctly.
  1. In the test panel at the bottom of the editor, open the Input tab and enter a sample input:
  1. Click “Run” (or press Cmd/Ctrl + Enter)
  2. The panel switches to the Output tab. Verify the output:
The tool runs inside an isolated sandbox container. Test runs are recorded in the organization’s Runs page (with version test), where you can inspect stdout, stderr, and execution duration.
5

Publish a Version

Once testing is successful, publish an immutable version of your ToolSet.
  1. Go to the Versions tab in your ToolSet
  2. Click “New Version” (or “Publish” in the ToolSet header)
  3. Enter a semver version number (e.g., 1.0.0; the console suggests the next patch version) and optional release notes
  4. Click “Publish”
Published versions are immutable snapshots, and the new version immediately becomes the active version for the selected environment. Any future changes require publishing a new version.
6

Execute via API or MCP

Now your tool is ready to be called programmatically.First create an API key under API Keys in the organization sidebar.Using the REST API (the input goes under an input key):
Using the TypeScript SDK:
Using the MCP endpoint (for AI agents):Turn on the MCP switch in the ToolSet header. Your ToolSet is then available as an MCP server at:
(Public ToolSets can also be reached at POST /v1/public/{orgId}/{toolsetSlug}/mcp.) AI agents that support the Model Context Protocol can call your tools directly.

What’s Next?

Core Concepts

Understand the domain model and key terminology

Web Console

Explore the full web console for managing your tools

API Reference

Browse the complete REST API documentation

SDK Guide

Integrate Jinba Toolbox into your applications