Search...
Menu

Why didn't the AI employee use the tools as expected?

When users inquire about information such as orders, products, inventory, or logistics, AI employees can use the added tools to query relevant data.

If the tool has been added, but the AI employee has not called the tool, called the wrong tool, or has not used the data returned by the tool correctly, you can check the tool configuration, persona rules, and actual usage by following the methods in this article.

This article's link: "Why didn't the AI employee use the tools as expected?"

I. Confirm that the tool is working properly.

First, check if the tool itself is configured correctly:

  1. Has the tool been added to the current AI employee?
  2. Has the plugin been authenticated?
  3. Can the custom tool be successfully debugged and return the expected data?
  4. After modifying the AI employee configuration, have you clicked "Publish"?

Successful tool debugging only indicates that the interface and parameters can function normally. Whether the AI employee will call the tool in a conversation also depends on whether the added tool is suitable for the current use case, the tool's name and description, and the calling rules in the user persona.

II. Inspection Tool Configuration and Scope of Application

Different types of tools have different adjustable configurations:

  • The plugins provided by the platform have their tool names, descriptions, and parameters pre-configured and do not require manual modification.
  • Custom plugins and tools : You can set the tool name, description, input parameters, and output parameters yourself.

1. Plugins provided by the platform

For plugins provided by platforms such as Shopify and WooCommerce, please confirm:

  1. The plugin has been authorized.
  2. The necessary tools have been added to the current AI staff.
  3. The added tools are consistent with the questions users have asked.

For example, Shopify plugins may include different tools such as product search and order search. When a user inquires about a product, a product search tool needs to be added; when a user inquires about the order status, an order search tool needs to be added.

2. Custom plugins and tools

For tools you create yourself, ensure that the tool name and description clearly explain its purpose.

The tool name should reflect the specific query object and capability, and avoid using overly broad names such as "query information" or "get data".

For example:

  • Not recommended: Checking orders
  • Recommendation: Check order status by order number

The tool description should also explain the use cases, the information required, and the scope of application of the tool.

For example:

Use this tool when a user inquires about order status, payment status, or shipping progress. The user's order number is required before using it.

Input and output parameters should also have clear names and descriptions, and only the fields necessary to complete the query and answer should be retained.

For detailed configuration instructions on custom tools, please refer to: Custom Plugins and Tools .

III. Supplementing the rules for calling characters

In addition to the description of the tool itself, the process of calling the tool can also be explained in the character design.

For example:

When a user requests to check their order, the system first retrieves the user's email address, phone number, and order number, then calls the "Retrieve Customer Orders" function to retrieve the order. If the system determines that the user's intent is to search for products or requires product recommendations, it extracts keywords from the user's query and uses the "Search Shopify Products" tool to retrieve relevant products and recommend them to the user.

It is recommended to clearly specify the calling rules:

  • Under what circumstances should a tool be called?
  • How to prompt the user when parameters are missing
  • How to respond after the tool returns results
  • How to handle query failures or no results?

For detailed instructions on configuring AI employee personas, please refer to: How to Configure Character Settings for an AI Employee?

IV. Retesting and Troubleshooting

After making the modifications, send questions in different formats in the "Q&A Test" section on the right to test whether the AI employee will use the correct tools. It is recommended to test both scenarios where the required information is provided and scenarios where the required information is missing.

If the answer still doesn't meet your expectations, you can click "Not good answer? Check the reason" below the answer to use the troubleshooting assistant to see the cause of the problem and optimization suggestions.

To review previous test records or answers from real channels such as websites and social media, you can go to "Analytics > Conversations" or "Analytics > Messages" to find the corresponding answer and review it.

For detailed usage instructions, please refer to: How to Troubleshoot When AI Employee Responses Do Not Meet Expectations?

V. Frequently Asked Questions

1. Why is the AI employee not being invoked even though the tool has been successfully debugged?

Successful tool debugging only means that the interface can run normally, and does not mean that the AI employee will definitely call the tool in the conversation.

For plugins provided by the platform, please ensure that the added tools match the user's inquiry and add the calling conditions in the user profile. For custom tools, please also check that the tool name, description, and parameter settings are clear.

Related tutorials: Custom plugins and tools

2. Why did the AI employee call the wrong tool?

If using plugins provided by the platform, please ensure that the correct tools have been added for the AI employee and that the usage scenarios for different tools are clearly distinguished in the persona.

If using custom tools, the names or descriptions of multiple tools may be too similar. It is recommended to specify the target query, purpose, and scope of application in the tool name and description.

Related tutorials: What are plugins? What are tools?

3. Why didn't the AI employee ask for the information it needed?

Please clearly state in the character design: if the order number, email address, phone number, or other necessary information is missing, you should first ask the user to obtain the required information before calling the tool.

If using a custom tool, you also need to confirm that the relevant parameters have been set as required and that a clear parameter description has been provided.

Related tutorial: How to Configure Character Settings for an AI Employee?

4. Why is the AI employee still giving incorrect answers even though the tool has returned data?

If using a custom tool, please check whether the output parameters contain the key fields needed to answer the question, and whether the field names and descriptions are clear.

For real-time data such as orders, prices, inventory, and logistics, the AI staff should be explicitly required in their persona to rely on the results returned by the tools and not to make their own guesses.

Related tutorials: Custom plugins and tools

5. Can you guarantee that the AI employee will use the specified tools every time?

AI employees will determine whether to use tools based on user expression, tool configuration, and personality rules, so there may be differences depending on the expression method.

Please ensure that the correct tools have been added, and clearly define the calling conditions, the handling method for insufficient information, and the response method for query failure in the character profile. After modification, you can test it using various real questions; if the answers do not meet expectations, you can use the troubleshooting assistant for further analysis.

Related tutorial: How to Troubleshoot When AI Employee Responses Do Not Meet Expectations?

Previous
Custom plugins and tools
Next
Statistics
Last modified: 2026-08-24Powered by