---
title: Step 2. Create the AI agent's tools
slug: make/step-2-create-the-ai-agents-tools
createdAt: 2026-09-29T15:35:12.836Z
---

:::hint{type="success"}
This page reflects a **previous version of Make AI Agents**. For the latest information, see [Make AI Agent (New)](https://public.qa.archbee.co/make/make-ai-agent-new).&#x20;
:::

AI agents in  need tools to do their job – these tools are modules,  and MCP tools. Agents use information provided by you to reason about how and when to use these tools.&#x20;

To inform the AI agent's context,  sends the following information to the AI service provider:

- System prompt
- The name and description of each tool&#x20;
- The name and description of inputs or outputs of the scenario used as a tool&#x20;

In addition to providing context, all  used as tools for AI agents must be [active](https://public.qa.archbee.co/make/active-and-inactive-scenarios) and either scheduled **on demand** or triggered by a **Custom webhook.**

In the next sections, we will create a tool for our agent to list our shop inventory and another to order more stock if we're low.&#x20;

:::hint{type="info"}
The aim of the following sections is to showcase the AI agent's reasoning. The example  provided have been simplified to streamline their setup.
:::

## Tool 1: Scenario to list shop inventory

We will provide our agent with a  to list our shop inventory. Since we want to send data from the  to the agent, we have to use [scenario outputs](https://public.qa.archbee.co/make/use-scenario-outputs) and the **Scenarios** > **Return output** module.

To create the :

::::WorkflowBlock
:::WorkflowBlockItem
Click the **Create a new scenario** button in your organization dashboard or in the list of .
:::

:::WorkflowBlockItem
If you don't have testing data ready, set up your shop data:

1. Add the **Data store** > **Search record** module to your .
2. In the **Data store** field, select **Add** to create a new data store.
3. In the **Data store name** field, fill in the name for your inventory data storage.
4. In the **Data structure** box, click **Add** to define a structure for your data store.
5.

::Image[]{src="https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-yrYWfvGplur7yV8QMrCf5-20250306-124119.png" size="56" width="499" height="1162" position="center" showCaption="false" indent="2"}

6. Click **Save** to confirm the data structure and **Save** to create the data store.
7. Go to the list of data store and open the new data store.
8. Click the **Add** button to add data to your data store:

![](https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-jYhXubr3GNnzWEwydwQlV-20250306-124235.png)
:::

:::WorkflowBlockItem
Update the name of the . The AI agent uses the  name to decide if it should run the . Fill in: "List shop inventory".
:::

:::WorkflowBlockItem
Add the **Tools** > **Text aggregator** module

1. In the **Source module** field, keep the data store module.
2. Enable the **dvanced settings** toggle at the bottom of the module settings.
3. In the **Row separator** field, select **New row**.
4. In the **Text** field, map the `name` and `quantity` fields from your data store:

::Image[]{src="https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-qbtuXUlKbpPTXePRhrNxY-20250306-124859.png" size="74" width="886" height="208" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Add the **Scenarios** > **Return output** module.

1. Click **Add scenario outputs** to set  outputs for the return data module.
2. In the **Scenario outputs** tab, define the  output structure and fill in the `description` of each item in the output:
3.

::Image[]{src="https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-p0fksUq3OBAV4GBehELHO-20250306-125058.png" size="52" width="794" height="1358" position="center" showCaption="false" indent="2"}

4. In the module settings, map the `text` variable to the `inventory` field.
5. Confirm module settings with **Save**.
:::

:::WorkflowBlockItem
Set  scheduling:

1. Set the  scheduling to **On demand**. The agent will run the  for you when needed.
2. Confirm the  scheduling with **Save**.
3. Activate the .
4. Save your .
:::

:::WorkflowBlockItem
Add  description for the agent:

1. Go to the  **Diagram** tab.
2. Click **Options** > **Edit description**.
3. Add description to the . The AI agent uses the  name and description to decide if it should run the scenario. Fill in: "Lists the shop inventory."
4. Click **Save**.
:::
::::

You have created the  for your agent to list the shop inventory. We will make the  available to your agent in the following sections.

## Tool 2: Scenario to order more stock

We will provide the agent with another tool: a  to order more items for our shop inventory. The  will receive order information from the agent with  inputs.

For our testing purposes, the  will just send messages to a selected chat.

To create the :

::::::WorkflowBlock
:::WorkflowBlockItem
Click the **Create a new scenario** button in your organization dashboard or in the list of .
:::

:::::WorkflowBlockItem
In **Scenario inputs and outputs** in the **Scenario inputs** tab, set the  inputs structure and description:

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
![](https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-iWEgWRv8Pjq8m5iwOw98R-20250306-125358.png)
:::

:::VerticalSplitItem
![](https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-gmIThHam9Eb9Z1h_dSozh-20250306-125409.png)
:::
::::
:::::

:::WorkflowBlockItem
Add the **Slack** > **Create a message** module.
:::

:::WorkflowBlockItem
Set up the **Create a message** module:

1. In the **Connection** selection box, select your connection. If you don't have a connection, click the **Add** button to create it.
2. Select the channel where you want to receive the messages about new orders created by the agent.
3. In the module settings, use the scenario input in the **Text** field. For example:

::Image[]{src="https://api.qa.archbee.co/api/optimize/xSpGhDIsAwW5-e9QQh6Dl-OX4qt7qt3EnhZu944vDUZ-20250306-125502.png" size="88" width="872" height="182" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Update the name of the . The AI agent uses the  name to decide if it should run the . Fill in: "Create buy stock order."
:::

:::WorkflowBlockItem
Set  scheduling:

1. Set the  scheduling to **On demand**. The agent will run the  for you when needed.
2. Confirm the  scheduling with **Save**.
3. Activate the .
4. Save your .
:::

:::WorkflowBlockItem
Add  description for the agent:

1. Go to the  **Diagram** tab.
2. Click **Options** > **Edit description**.
3. Add description to the . The AI agent uses the  name and description to decide if it should run the . Fill in: "Creates orders to refill the shop inventory."
4. Click **Save**.
:::
::::::

You have created the  for your agent to create orders to refill the shop inventory. We will make the  available to your agent in following sections.
