Courseiva
Agents and the Agent SDK →mediumMultiple Select

CCDV-F Agents and the Agent SDK Practice Question

Which TWO of the following are essential components of a 'tool_use' block generated by Claude?

⚠ Common exam trap

Candidates often overlook the 'id' field, assuming the tool name is sufficient. They fail to understand that the 'id' is required to map asynchronous results back to specific calls.

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

✓

A unique 'id' string used to match results to the specific request.

A 'tool_use' block must contain specific identifiers so that the SDK knows which tool to run and how to track its result. The 'id' uniquely identifies the specific call in the conversation history, while the 'name' maps the call to the actual function or service defined in the agent's configuration.

Answer analysis

Option-by-option breakdown

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

  • ✓

    A unique 'id' string used to match results to the specific request.

    Why this is correct

    The 'id' field is critical for maintaining the integrity of the conversation. It allows the SDK and the model to associate a 'tool_result' with its corresponding 'tool_use' request. This is especially important in complex interactions where multiple tools might be called or where the conversation spans many turns.

  • ✗

    The full source code of the function being called.

    Why it's wrong here

    The model does not generate source code in the 'tool_use' block; it only generates the parameters (input) for the tool. The actual implementation of the tool resides on the developer's server or within the MCP server, kept separate from the model's output for security and architectural cleanliness.

  • ✓

    The 'name' of the tool that matches a defined tool in the set.

    Why this is correct

    The 'name' property is what the Orchestrator uses to look up the correct tool to execute. If the name generated by the model doesn't match any of the tools provided in the initial API call, the SDK will be unable to process the request, leading to a runtime error in the agent loop.

  • ✗

    The 'timestamp' of when the model decided to use the tool.

    Why it's wrong here

    Timestamps are not a required or standard part of the 'tool_use' block schema in the Anthropic API. While developers might log timestamps for their own debugging or monitoring purposes, the model does not include them in the JSON payload it generates when it decides to call a tool.

  • ✗

    The 'confidence_score' the model assigns to this specific tool call.

    Why it's wrong here

    Anthropic models do not currently output a formal 'confidence_score' field within the 'tool_use' JSON block. The model either decides to use a tool or it doesn't. Any assessment of 'confidence' would be an external calculation or an interpretation of the model's text reasoning preceding the tool call.

About these practice questions

One of 257 original CCDV-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 CCDV-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 CCDV-F exam.