From the course: Building Agents Using the Azure AI Foundry Agent Service
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
OpenAPI-defined tools
From the course: Building Agents Using the Azure AI Foundry Agent Service
OpenAPI-defined tools
- [Instructor] The OpenAPI tool allows your agent to connect to any external API using an OpenAPI 3.0 specified tool. It enables your agent to dynamically interact with an external API that conforms to the OpenAPI 3.0 specification, enabling dynamic, secure and scalable integrations without custom coding. Before we create an agent using this tool, we first need to have a third-party API. For our demonstration, I created a free developer account with TripAdvisor. You can create your own account yourself and avail of the free 5,000 API calls every month. You need to take note of your API key and set the API key restriction to the IP address specified here. This opens up your API to the internet. There are a few things to know about this API. First, the API requires the key parameter to be set. You set this with your API key. Second, before you get a location review, such as a restaurant, you first need to get is locationId. You can get the location ID from the Location Search API. You…