Using Tools with the AI Agent

Extend the power of your BeDesk AI Agent by connecting it to your internal or third-party services with Tools. Tools allow your AI Agent to go beyond answering questions from its knowledge base by performing actions and retrieving live data from external APIs.

With Tools, your agent can:

This guide will walk you through creating and configuring a tool for your AI Agent.

Managing Your Tools

You can find all your tools by navigating to AI Agent > Tools page from agent dashboard or admin area.

On this page, you can:

Creating a New Tool

When you click + Add new tool, you'll be taken to the tool configuration screen, which is divided into four main sections: General, API connection, Test response, and Attribute mapping.

Configuration section will be disabled if previous section has errors or unsaved changes. Fix any errors, and click Save and continue button to move to next section.

1. General Settings

This section defines the tool's purpose and how the AI Agent will decide to use it.

2. API Connection

Here, you will configure the technical details for connecting to your external API.

You can use any attributes available for the current user or flow, as well as data collected by AI agent as variables in url, headers or body.

3. Test Response

This section allows you to verify your API connection and provide sample data for setting up the final step.

You have two options:

4. Attribute Mapping

In this final step, you can map data from the API response to specific BeDesk attributes. This is useful when the same tool is reused in multiple flows, this way you can use attributes mapped here in flows directly, without having to manually map them in each flow.

Mapping is optional and only used in flows. The AI Agent can understand and use all data returned from the API in its conversational responses automatically, even without mapping.

The system automatically parses the JSON response from the previous step and lists the available data fields. For each field, you can see:

Once you have configured all the sections, click Save.

The tool will be set to inactive by default, which will prevent it from being selectable in flows or being used by AI agent. Make sure to set it to active from top right corner on this page.