What You’ll Build
A simple ToolSet containing a tool that:- Accepts a text input
- Processes it in an isolated sandbox
- 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.
- Click the organization you want to work in
- You land on its Tool Sets page
/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.
- Navigate to Tool Sets in the organization sidebar
- Click “New Tool Set”
- 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)
- Name: e.g.,
- 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.- Open your newly created ToolSet
- Click “Add Tool”
- Configure the tool:
- Name:
Word Count(the Slugword-countis generated from the name) - Description: “Counts words in a given text”
- Name:
- Click “Create Tool” — the tool editor opens
- Replace the starter template with the tool code (TypeScript):
- 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.The tool runs inside an isolated sandbox container. Test runs are recorded in the organization’s Runs page (with version
- In the test panel at the bottom of the editor, open the Input tab and enter a sample input:
- Click “Run” (or press
Cmd/Ctrl + Enter) - The panel switches to the Output tab. Verify the output:
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.
- Go to the Versions tab in your ToolSet
- Click “New Version” (or “Publish” in the ToolSet header)
- Enter a semver version number (e.g.,
1.0.0; the console suggests the next patch version) and optional release notes - Click “Publish”
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 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
input key):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