Skip to content

Commit 557eea9

Browse files
committed
function calling
1 parent fce5dbf commit 557eea9

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

articles/ai-services/agents/how-to/tools/function-calling.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,23 @@ The [models page](../../concepts/model-region-support.md) contains the most up-t
2828

2929
To use all features of function calling including parallel functions, you need to use a model that was released after November 6, 2023.
3030

31+
32+
## Using the function calling tool with an agent
33+
34+
you can add the function calling tool to an agent programatically using the code examples listed at the top of this article, or the Azure AI Foundry portal. If you want to use the portal:
35+
36+
1. In the **Create and debug** screen for your agent, scroll down the **Setup** pane on the right to **action**. Then select **Add**.
37+
38+
:::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":::
39+
40+
1. Select **Custom function** and follow the prompts to add the tool.
41+
42+
:::image type="content" source="../../media/tools/action-tools-list.png" alt-text="A screenshot showing the available action tools in the Azure AI Foundry portal." lightbox="../../media/tools/action-tools-list.png":::
43+
44+
1. You can use a function that you define (examples provided in the code samples tab above), or you can try an example function.
45+
46+
:::image type="content" source="../../media/tools/custom-function-trigger.png" alt-text="A screenshot showing the custom function trigger." lightbox="../../media/tools/custom-function-trigger.png":::
47+
3148
::: zone-end
3249

3350
::: zone pivot="code-example"
117 KB
Loading

0 commit comments

Comments
 (0)