Courseiva

CCAR-F Agentic Architecture and Orchestration Practice Question

A support agent running on the Claude Messages API must look up a customer's order status before answering. The developer writes a single request that includes the get_order_status tool definition and the user's question, then expects the model to return the order status directly in its first response. What actually happens, and what must the developer implement?

⚠ Common exam trap

The trap here is assuming the model itself executes declared tools, when tool definitions only describe callable functions and every execution plus result round trip is the application's responsibility.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Claude returns a tool_use block requesting get_order_status; the application must execute the tool and send back a tool_result, then call the API again to get the final answer.

Tool use in the Claude Messages API is a caller-driven loop: the model emits a tool_use request, the application executes the function and returns a tool_result, and a follow-up request lets Claude produce the final answer. Because the API is stateless and never runs customer functions itself, the developer must implement this round trip.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Claude returns a tool_use block requesting get_order_status; the application must execute the tool and send back a tool_result, then call the API again to get the final answer.

    Why this is correct

    The API is stateless and does not execute tools on the caller's behalf. When Claude decides a tool is needed, it returns stop_reason tool_use with a tool_use block containing the name and arguments; the application runs the function, appends a user turn with the matching tool_result, and issues another request so Claude can compose the answer.

  • ✗

    Claude returns the order status immediately because tool definitions are executed server-side by Anthropic before the response is generated.

    Why it's wrong here

    Anthropic does not run customer-defined functions. Tool definitions only tell Claude what functions exist and how to call them; execution always happens in the developer's environment, and the results must be supplied back as tool_result content. Expecting server-side execution leads to responses that request a tool call rather than containing real order data.

  • ✗

    Claude executes the tool and returns both the tool output and its final answer in one response, so no second request is needed.

    Why it's wrong here

    A single assistant response cannot contain the tool's output because the model has no way to run the function. The response contains only the tool_use request, and the loop continues only after the application supplies the result. Assuming a combined response leaves the developer waiting for data that the model never had access to.

  • ✗

    The request fails with a validation error because a tool definition cannot be supplied alongside a normal user text message.

    Why it's wrong here

    Supplying tools together with a user message is the standard pattern and is fully supported. The tools parameter simply advertises available functions; the model may answer directly or request a call. There is no rule forbidding text and tool definitions in the same request, so this is not the failure mode a developer would observe.

About these practice questions

One of 271 original CCAR-F practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Anthropic exam blueprint

This CCAR-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCAR-F exam.