You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/agents/how-to/tools/openapi-spec.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,22 +129,28 @@ To set up authenticating with Managed Identity:
129
129
130
130
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.
131
131
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":::
:::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":::
139
144
140
145
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.
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`.
144
150
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).
146
152
147
-
1. Copy and paste your OpenAPI specification in the text below.
153
+
1. Copy and paste your OpenAPI specification in the text box.
0 commit comments