Creating Tool

🔧 What is tools?

Tools is the way that your agent can interact with external informations dynamically.

Let's suppose that your agent needs to know the current revenue, access blog posts, or get customer details. The tools will help a lot with this.

✅ How to create a tool?

  1. Access Tools in your main menu

  2. Click on Create Tool Button

Now you need to fill some fields:

Field
Means

Name

A important key to AI, to call this tool when is necessary

Description

Be specific here, because the AI will use this information to analyze whether the tool needs to be called.

Method

APIs REST need a HTTP Method to be called

URL Template

Paste your URL here. If you need to fill in a field dynamically, enclose it in {{}}. EX: https:google.com.br/{{USERID}}

Headers

If you need to send some informations in header of request...fill here. Is key and value

Params

Here is the magic part, you need to fill with the fields of your API. You can:

  • Select the type of field

  • Fill a description about this fileld

  • If is a constant, set the value

  • If is a ENUM (Restrict values), put here

  • If is required, set the flag

🤖 Assign the tool to the agent.

Now you can assign the tool in your Agent.

  1. Access your agent

  2. Click edit

  3. Go to Tools tab

  4. And select the tools of agent

Last updated