Sample question 1 · CCA-F · D1 Agentic Architecture & Orchestration · medium
Your agent loop calls the API with a server-side web search tool enabled and receives a response with stop_reason "pause_turn". What should the harness do?
Why: pause_turn means a long-running server-tool turn was paused, not finished or failed; the harness continues it by passing the paused assistant response back in a subsequent request.
Server tools like web search can take multiple rounds, and the API may pause the turn and hand control back; the documented continuation is to return the paused content so the model resumes where it stopped. Option A misreads a normal control-flow signal as an error — retrying the original request throws away the progress already made. Option B treats an explicitly unfinished turn as a final answer. Option C also discards progress and burns tokens redoing the search from scratch. Exam tip: stop_reason values are loop-control signals — tool_use and pause_turn both tell the harness exactly what to send next, and neither is an error.