Tool Use in Claude: Based on Anthropic Materials · Lesson 4
Controlling Tool Selection: tool_choice
Four tool_choice modes: auto (Claude decides), any (must call one), tool (a specific one), none (no calls). Which models reject any and tool with a 400 error and what to use instead: prompt instructions, strict: true, structured outputs. An SMS chatbot and a sentiment analyzer as examples.
One trial lesson is open without sign-up: what a large language model is →


