Tools are powerful software units that extend Shinkai’s capabilities, allowing you to automate tasks and integrate external services. Think of them as specialized functions that take specific inputs and produce outputs, making them perfect for both simple automation and complex workflows.Many tools require configuration before they can be used effectively. This might include setting up API keys, authentication credentials, or specific parameters that customize how the tool operates. For example, a tool that interacts with your email might need your email server settings, while a tool that analyzes images might need API keys for computer vision services.
Click the Create Tool button in the Tools section.
Choose your preferred language (Python or TypeScript)
Provide to the LLM in the chat an initial prompt describing your tool’s functionality
The system will generate initial code and metadata
Modify the generated code in the editor as needed.
To switch between code and metadata use the labeled tabs above the editor.
Review and update the metadata JSON to define inputs, outputs, and configuration. You can automatically regenerate the metadata based on the code pressing the “Regenerate Metadata” button on the top-right corner.
Most tools require configuration before use, once the tool is saved from the Tool’s Playground, you will be directed to the configuration page. If you want to modify a tool’s config you can:
Click the Configure button next to a tool in the Shinkai Tools section
Click on the Configuration tab
Set required parameters (e.g., API keys, credentials)
Save your configuration
Optional: Export the tool as a ZIP file for sharing