Creating an API Endpoint Calling Tool in Generative AI Agents
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 an API endpoint calling tool.
Before you begin, review the API Endpoint Calling Tool Guidelines for Generative AI Agents and complete any tasks that are required. For example, you might have to create an OCI Vault secret, and add policies to access vault secrets.
Navigating to Tools
Creating an API Endpoint Calling Tool
Tip
Perform one of the following actions:
- If you're creating an agent, go back to Creating an Agent in Generative AI Agents to create another tool or an agent endpoint.
- 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.
- If you created the agent without an agent endpoint, when you're ready to use the agent, create an endpoint for this agent.
Note
To let a human reviewer monitor and edit a response before sending it to the user, select the optional feature Enable human in the loop in the agent endpoint.