Skip to content

Commit fa16d94

Browse files
committed
updating openapi spec page
1 parent 385874c commit fa16d94

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

articles/ai-services/agents/how-to/tools/openapi-spec.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,22 +129,28 @@ To set up authenticating with Managed Identity:
129129

130130
1. Once the setup is done, you can continue by using the tool through the Foundry Portal, SDK or REST API. Use the tabs at the top of this article to see code samples.
131131

132-
## Add OpenAPI Spec tool in Foundry Portal
133-
1. Click the agent in Agent Playground you want to edit
134-
135-
1. Click to add from Action tools
132+
## Add OpenAPI spec tool in the Azure AI Foundry portal
133+
134+
You can add the Grounding with Bing Search tool to an agent programatically using the code examples listed at the top of this article, or the [Azure AI Foundry portal](https://ai.azure.com/). If you want to use the portal:
135+
136+
1. in the **Create and debug** screen or **Agent playground**, select your agent.
137+
1. Scroll down the **Setup** pane on the right to **action**. Then select **Add**.
138+
139+
:::image type="content" source="../../media/tools/action-tools.png" alt-text="A screenshot showing the available tool categories in the Azure AI Foundry portal." lightbox="../../media/tools/action-tools.png":::
136140

137-
1. Click OpenAPI 3.0 specified tool
138-
![image](https://github.com/user-attachments/assets/24c7fa97-065d-4cce-8a21-2e04c8b47216)
141+
1. Select **OpenAPI 3.0 specified tool**.
142+
143+
:::image type="content" source="../../media/tools/action-tools-list.png" alt-text="A screenshot showing the available tool categories in the Azure AI Foundry portal." lightbox="../../media/tools/action-tools-list.png":::
139144

140145
1. Give your tool a name (required) and a description (optional). The description will be used by the model to decide when and how to use the tool.
141-
![image](https://github.com/user-attachments/assets/f081adce-7588-4152-8d38-10a1a9bfafb4)
142-
143-
1. Click Next and select the authentication method. Choose `connection` for `API key`.
146+
147+
:::image type="content" source="../../media/tools/open-api-details.png" alt-text="A screenshot showing the available tool categories in the Azure AI Foundry portal." lightbox="../../media/tools/open-api-details.png":::
148+
149+
1. Click Next and select your authentication method. Choose `connection` for `API key`.
144150
1. If you choose `connection`, you need to select the custom keys connection you have created before.
145-
1. If you choose `managed identity`, you need to input the audience to get your token. An example of audience would be "https://cognitiveservices.azure.com/" to connect to Azure AI Services. Please make sure you have already set up authentication and role assignment (in section above)
151+
1. If you choose `managed identity`, you need to input the audience to get your token. An example of an audience would be `https://cognitiveservices.azure.com/` to connect to Azure AI Services. Make sure you have already set up authentication and role assignment (as described in the [section](#authenticating-with-managed-identity-microsoft-entra-id) above).
146152

147-
1. Copy and paste your OpenAPI specification in the text below.
153+
1. Copy and paste your OpenAPI specification in the text box.
148154

149155
1. Review and add the tool to your agent.
150156

56.6 KB
Loading
113 KB
Loading

0 commit comments

Comments
 (0)