Skip to content

AI-assisted tool creator

Use the AI-assisted tool creator to generate tools from natural language descriptions. Describe what you need, and the AI generates both the edge function code and the tool’s JSON schema.

The AI assistant understands the Quant Cloud API, edge function runtime, and available import libraries. It generates complete, deployable tool code from your description — including the edge function, input schema, and configuration — so you can go from idea to working tool in minutes.

  1. Navigate to AI Tools in the dashboard sidebar
  2. Click Create
  3. Describe your requirements in plain English in the chat interface

For example, you might enter:

Create a tool that fetches the latest exchange rates from an API and returns the rate for a given currency pair.

The AI generates the edge function code and JSON schema based on your description. Review the generated code, make any adjustments, and deploy when ready.

The AI maintains session context, so you can iteratively refine your tool through conversation. Ask follow-up questions, request changes, or add new features to the generated code. For example, after the initial generation you might ask:

Add error handling for invalid currency codes and return a friendly error message.

The AI updates the existing code rather than starting from scratch, preserving your previous refinements.

The tool creator has access to several resources that help it generate accurate, working code:

  • Quant Cloud API documentation — Understands available endpoints, authentication, and request formats
  • Edge function import libraries — Knows which libraries are available in the edge function runtime
  • Web content — Can fetch web content for reference when generating tools that interact with external APIs
  • GitHub repositories — Can read files from GitHub repositories for reference or integration
  • Complete code generation — Produces edge function code with the correct import structure, ready to deploy

You can refine any tool after creation:

  1. Open the tool from the AI Tools list
  2. Click Edit
  3. The AI loads the existing code into the conversation context
  4. Describe the changes you want to make

The AI applies your changes to the existing code, maintaining the overall structure while incorporating your updates.