CCAR-F practice › Agentic Architecture & Orchestration · Question 3 of 105
Agentic Architecture & Orchestration
A support agent built with the Agent SDK calls lookup_order with the same order ID three or four times in a row before answering. Logs show each call executes successfully and stop_reason is "tool_use" every time. What is the most likely root cause?
Show answer and explanation
Answer: D — The loop runs the tool but never appends the tool_result to the messages, so the model never sees it
The model can only reason over what's in its context. If the loop executes the tool but doesn't append the tool_result before the next request, the model is choosing blind and asks again. A vague description (a) or prompt wording (c) doesn't explain repeating an identical call; a tighter iteration cap (b) hides the symptom and truncates legitimate work.
Keep going
More Agentic Architecture & Orchestration questions
- A research system produces a report on "the economic effects of an aging population."…
- A coordinator sends every query through web search, document analysis, synthesis, and…
- Reviewers find that about a third of research reports have thinly supported sections…
- A team proposes letting the web search subagent send its results directly to the…
- A coordinator needs results from three independent search subagents, each covering a…