Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam AI-103 Topic 1 Question 58 Discussion

Actual exam question for Microsoft's AI-103 exam
Question #: 58
Topic #: 1
You have a Microsoft Foundry project that contains a deployed ticket-triage agent.
You discover that sometimes the agent responds without calling any tools, even when a tool is required.
You need to ensure that the agent calls a tool during execution.
How should you complete the Python code? To answer, drag the appropriate values to the correct targets.
Each value may be used
once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

Suggested Answer:


Explanation:
" tool_choice " : " required "
The correct completion is " tool_choice " : " required " . In Microsoft Foundry Agent Service, tool_choice controls whether the model can answer directly or must invoke a tool during a run. The official Foundry tool guidance states that tool_choice provides deterministic control over tool calling: auto allows the model to decide whether to call tools, none prevents tool use, and required forces the model to call one or more tools.
This directly addresses the issue where the ticket-triage agent sometimes responds without invoking a required tool.
The completed payload should therefore add the tool_choice property beside assistant_id, with the value " required " . The value " auto " is incorrect because it preserves the current nondeterministic behavior. The values " tools " and " type " do not force execution-time tool invocation in this payload; they are used for tool definitions or typed objects in other contexts. response_format controls output formatting, not tool execution.
Reference topics: Microsoft Foundry Agent Service, tool calling reliability, run payload configuration, tool_choice, agent execution, and deterministic tool invocation.

by Reg at Jun 28, 2026, 01:35 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.