Microsoft Azure AI Fundamentals (Updated Version) AI-901 Exam Questions
You have a Microsoft Foundry project that contains an agent named Agent1.
You need to ensure that Agent1 always calls an Azure function when the agent responds to user input.
To what should you set tool_choice for Agent1?
Correct Answer: C
Microsoft’s Foundry Agent Service documentation states that tool_choice provides deterministic control over tool calling:
auto means the model decides whether to call tools.
required means the model must call one or more tools.
none means the model does not call tools.
Therefore:
A. auto = Incorrect, because the model may or may not call the Azure function.
B. none = Incorrect, because this prevents tool/function calls.
C. required = Correct, because it forces the agent to call a tool.
The Azure OpenAI function-calling documentation also confirms that tool_choice= " auto " lets the model decide whether to call a function, while tool_choice= " none " forces a user-facing response without a tool call.