How to enable Custom Functions and OpenAPI 3.0 specified tools in Azure AI Foundry Agent Actions? Currently, only the Code Interpreter option is available.

Girisath S 0 Reputation points
2025-02-27T07:44:08.6933333+00:00

I created an Azure AI agent in Foundry. In that agent, I need to connect an AI service to extract the required data for my project. I want to know if it is possible to connect an AI service to an AI agent in Azure AI Foundry. and also How to enable Custom Functions and OpenAPI 3.0 specified tools in Azure AI Foundry Agent Actions? Currently, only the Code Interpreter option is available. using this can able to connect thatScreenshot 2025-02-21 094753

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,732 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pavankumar Purilla 3,715 Reputation points Microsoft Vendor
    2025-02-28T00:34:30.4033333+00:00

    Hi Girisath S,
    Greetings & Welcome to the Microsoft Q&A forum! Thank you for sharing your query.

    Yes, you can connect an AI service to an AI agent in Azure AI Foundry and enable Custom Functions and OpenAPI 3.0 Specified Tools. Below are the steps to achieve this:

    Connecting an AI Service to an AI Agent in Azure AI Foundry

    Step 1: Create an Azure AI Foundry Project

    Go to the Azure AI Foundry portal.

    • Create a new project or select an existing one.

    Step 2: Add a Connection to the AI Service

    Navigate to Management Center from the left pane.

    Select Connected Resources under the project settings.

    Click on + New Connection.

    • Choose the AI service you want to connect (e.g., Azure OpenAI, Azure AI Speech).
    • Follow the prompts to authenticate and connect the service.

    Enabling Custom Functions and OpenAPI 3.0 Specified Tools

    Step 1: Ensure Prerequisites

    • Verify that your OpenAPI specification meets the requirements (e.g., operationId should only contain letters, hyphens, and underscores).

    Step 2: Enable Custom Functions

    • In the Azure AI Foundry portal, go to your project.
    • Under Build & Customize, select Agents.
    • Choose the agent you want to configure.
    • Enable Custom Functions in the agent settings.

    Step 3: Configure OpenAPI 3.0 Specified Tools

    • Go to the Tools section in your agent settings.
    • Select OpenAPI 3.0 Specified Tools.
    • Provide the OpenAPI specification URL or upload the specification file.
    • Configure the authentication method (e.g., API key, managed identity) as required.

    By following these steps, you can successfully connect your AI service to an AI agent in Azure AI Foundry and enable the necessary tools to enhance your project.

    For more information, refer to: How to use Azure AI Agent Service with OpenAPI Specified Tools
    How to use Azure AI services in Azure AI Foundry portal

    I hope this information helps.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.