CCARF Practice Question
Correct answer: B
A: parses natural language for a completion signal — a documented anti-pattern
B: The agentic loop keys off stop_reason: “tool_use” means the model has requested tools and expects their results back; “end_turn” means it has finished reasoning and produced its answer. That signal is the designed termination mechanism.
C: makes an arbitrary iteration cap the primary stopping mechanism
D: fails because responses can contain both text and tool_use blocks mid-task