Tools
Tools
Create, manage, and execute custom tools on the Agent Platform.
The Agent Platform provides a secure, monitored environment to run custom tools using JavaScript. Integrating tools directly into the platform reduces network hops and decreases the latency of the agent loop.
Features
- Security: Tools execute in an isolated environment that restricts system access.
- Monitoring: The platform tracks execution, providing logs and metrics to troubleshoot workflows.
- Efficiency: Native execution reduces latency in the agent loop.
- Management: The tool registry organizes and versions your tools.
Workflow
To create a tool, you define the required components:
- Define Schemas: Create JSON Schemas for the input and output structures. Learn about schemas.
- Write the Execute Script: Develop a JavaScript snippet to implement the tool logic. Learn about the execute script.
- Register the Tool: Upload the components using the dashboard or API.
- Test the Tool: Verify the functionality by running test invocations. Learn about testing.