Jinba Toolbox
Guides

Copilot

AI-powered code generation and editing

Overview

Copilot is an AI assistant built into the tool editor. Request code generation or modifications in natural language.

How to Use

Copilot is displayed in the right panel of the tool editor (toggle with Cmd+B).

Enter your request in the text field and press Enter to send.

Example Requests

Create a tool that sends messages to Slack
Write code to extract OGP info from a URL
Add a limit parameter to input
Fix the error

Applying Code

Click the "Apply" button on generated code to apply it to the editor.

Usage Patterns

New Creation

Describe what you want to do, and Copilot generates complete code including Input/Output definitions and the run function.

Error Fixing

When a test execution produces an error, the error is automatically shared with Copilot. Just ask "fix the error" to get a fix suggestion.

Adding Features

Request "add XX" to existing code, and it will add features while preserving existing code.

Generating Test Input

Ask "suggest test input" to generate sample JSON based on the Input schema.

Tips

  • Be specific - Mentioning specific libraries or processing details improves accuracy
  • Build incrementally - Don't build complex tools at once; start with basic features and expand
  • Use conversation - Past conversations are saved, so you can continue from where you left off

On this page