Add a tool to an AI agent
Add a tool to an AI agent to enable different functionalities and help your AI agents achieve their objectives.
Tool overview
Tools provide your AI agents with the capabilities necessary to complete their tasks. When adding tools, consider how the AI agent will use them to achieve its objectives as well as how those tools interact with each other. Providing your AI agents with the appropriate tools help ensure the robustness and quality of their performance.
Some additional guidelines for adding and creating tools are the following:
- Design tools to work together. Your AI agent should solve a specific, discrete task, and the tools should give the AI agent all of the capabilities necessary to achieve its goal.
- Write detailed tool descriptions. Tool descriptions are used by the AI agent to determine a tool's function. Thorough descriptions about what the tools are and how they work will give the AI agent the best chance to succeed.
- Consider the outputs of tools when creating them. Use the tool description or output transformation strategy fields to describe how to process the tool outputs. For example, if you have a tool that gathers records from a large number of tables, provide the tool with plans for how to handle the amount of records that the query could return.
Once you have added all of the tools to your AI agent, you can select Save and continue to move to the next step in the guided setup.
Supervised execution mode for AI agents
You can minimize potential negative impact of an AI agent not executing as expected by configuring AI agents' tools to run in supervised mode. This will ensure human oversight for the tool's actions. You can use the Supervised mode to enhance security for agents with the capability to perform sensitive or critical actions.
You can set the supervised execution mode when creating a tool in the AI agent guided setup. For example, choose Supervised as the Execution mode when adding a catalog item tool. For reference, see Add a catalog item to an AI agent.