In Generative AI Agents, each agent must have one or more tools. You can create an agent's tool during or after creating the agent. For both options, creating a tool has the same steps. This section shows you the steps to create a RAG tool.
Before you create a RAG tool, ensure that you review the guidelines for the data that you plan to provide to the agent and complete any tasks that are required.
If you're in the process of creating an agent, skip this section. This section provides the steps to navigate to the details page of an agent where the tools are listed.
On the Agents list page, select the agent that you want to add a tool to.
If you need help finding the list page, see Listing Agents
Under Resources, select Tools.
Creating a RAG Tool 🔗
Select Create tool.
Select RAG.
(Optional)
Enter the following information:
Name: A name that starts with a letter or underscore, followed by letters, numbers, hyphens, or underscores. The length can be from 1 to 255 characters.
Description: An optional description.
(Optional)
For Custom instructions, enter an instruction in natural language for the agent's responses. For example, ask the agent to answer prompts in a certain way.
In the Add knowledge bases section, select a knowledge base from the listed knowledge bases or create one. Change the compartment if the knowledge base that you want to use is in another compartment. If you need help creating a knowledge base, see Creating a Knowledge Base in Generative AI Agents.
If you added the tool to an existing agent, after the tool is active, from the agent's detail page, select Launch chat to chat with the agent using this tool.