PracticeLess likely on exam

Question 196

196 of 293

Question 196

Question 196

An architect is designing an agentic loop using the Claude API. The loop needs to handle tool calls, detect completion, and manage errors. Which combination of stop_reason values correctly identifies when to continue the loop versus when to exit?