QuestionQ28

Implement AI solutions by using Microsoft Foundry

You have a Microsoft Foundry project that includes an agent named Agent1.

You need to ensure that Agent1 always invokes an Azure function when it responds to user input.

What should you set tool_choice to for Agent1?

  • A required
  • B auto
  • C none
Explanation

Setting tool_choice to required requires the model to call one or more configured tools. auto permits the model to answer without a tool call, and none prevents tool calls. Microsoft Foundry Agent Service tool best practices

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!