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.
Show all 10 Configuring tool_choice practice questions and answers
- What does tool_choice auto do?Claude may call a tool or reply with text.
- What does tool_choice any do?Claude must call some tool, but chooses which.
- What does forced tool_choice do?Claude must call a specific named tool.
- When should you use any?When you need guaranteed structured output and there are several possible schemas.
- When should you force a specific tool?To guarantee a step happens first, e.g. extract_metadata before enrichment.
- Why might auto return text instead of a tool call?Claude decided a tool wasn't needed; use any/forced if one is required.
- 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.
- What does none do?Prevents tool use for that request.
- Which choice gives guaranteed structured output for unknown document types?any, with a schema tool per document type.
- Is forcing tools always better?No. It removes Claude's judgment; use only when a call is required.