Flashcardsfor IT Certifications

Configuring tool_choice

Claude Certified Architect – Foundations (CCAR-F) exam practice questions · 10 flashcards

Question
What does tool_choice auto do?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Configuring tool_choice practice questions and answers
  1. What does tool_choice auto do?
    Claude may call a tool or reply with text.
  2. What does tool_choice any do?
    Claude must call some tool, but chooses which.
  3. What does forced tool_choice do?
    Claude must call a specific named tool.
  4. When should you use any?
    When you need guaranteed structured output and there are several possible schemas.
  5. When should you force a specific tool?
    To guarantee a step happens first, e.g. extract_metadata before enrichment.
  6. Why might auto return text instead of a tool call?
    Claude decided a tool wasn't needed; use any/forced if one is required.
  7. How do you run a forced first step then continue normally?
    Force the tool on the first call, then process later steps in follow-up turns with auto.
  8. What does none do?
    Prevents tool use for that request.
  9. Which choice gives guaranteed structured output for unknown document types?
    any, with a schema tool per document type.
  10. Is forcing tools always better?
    No. It removes Claude's judgment; use only when a call is required.