CCAR-F Agentic Architecture and Orchestration Practice Question
When implementing a Tool Use (function calling) loop with Claude, which TWO steps are required for the application to successfully complete a multi-step task involving external data?
⚠ Common exam trap
Candidates often forget that tool results must be sent back within a subsequent user message, breaking the required alternating conversational role structure.
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
✓
Detecting the 'tool_use' stop_reason in the API response
In an agentic loop, the application must manage the transition between the assistant's request to use a tool and the provision of the tool's output back to the model. This iterative process requires detecting the specific stop reason and then formatting the external data correctly so Claude can process it in the next turn.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Detecting the 'tool_use' stop_reason in the API response
Why this is correct
The API indicates that Claude wants to access a tool by returning a specific stop reason. The application must programmatically check for this value to know that it should stop generation, execute the requested local function, and then prepare to send the results back to the model for further reasoning.
- ✗
Hard-coding the tool results directly into the system prompt
Why it's wrong here
System prompts are generally static and intended for high-level instructions. Hard-coding dynamic tool results into the system prompt is inefficient and prevents the model from understanding the conversational history of tool interactions. Instead, tool results should be provided as separate message blocks within the ongoing conversation thread.
- ✓
Providing the 'tool_result' content block in a subsequent user message
Why this is correct
After the application executes the tool, the output must be sent back to Claude using a specific message structure. This block must include the matching tool_use_id so the model can associate the result with its previous request, allowing it to continue its reasoning and complete the user's task.
- ✗
Using a temperature setting of 0.0 to ensure tool syntax is correct
Why it's wrong here
While a lower temperature can help with consistency, it is not a requirement for the tool use loop to function. Claude models are trained to follow the tool schema even at moderate temperatures. The critical requirement is the structural handling of tool blocks and stop reasons, not a specific temperature value.
- ✗
Manually parsing the model's text output using regular expressions
Why it's wrong here
Anthropic's tool use feature provides a structured JSON response for tool calls, removing the need for unreliable regular expression parsing of raw text. Relying on regex is a legacy approach that is less robust than using the official tool_use blocks provided by the Messages API for structured interactions.
About these practice questions
Courseiva writes every CCAR-F question from scratch — 271 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.