Get Your CertClaude Certified Architect, FoundationsPlayCompete
‹ All Claude Certified Architect, Foundations questions

Claude Certified Architect, Foundations · Test 3 · question 3 of 10

Agent Architecture & Orchestrationhard

An agent loop calls the Messages API with client tools plus the server-side web search tool. In production, two failures appear. In one, a response arrives with stop_reason set to max_tokens and its last content block is a tool_use block whose JSON input looks cut off. In the other, a response arrives with stop_reason set to pause_turn. How should the loop handle them?

Select one answer
Practice Test 3 ›