← All practice questionsWhat does
QUESTION 42 OF 245Domain: Tool Design & MCP Integration
What does tool_choice: 'any' guarantee?
Show answer and explanation
Answer: C
any forces the model to call SOME tool but lets it pick which. auto may return text; forced selection ({type:'tool', name:'X'}) pins a specific tool.
`any` ماڈل کو کوئی نہ کوئی ٹول چلانے پر مجبور کرتا ہے مگر چناؤ اسی پر چھوڑتا ہے۔ `auto` میں وہ صرف متن بھی دے سکتا ہے؛ اور `{type:'tool', name:'X'}` ایک خاص ٹول ہی چلواتا ہے۔
One practice question a week
Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.
We only use your email for these updates. See our privacy policy.