Interview practice question
Agent keeps calling the wrong tool
Machine Learning · AI Agents · Beginner
Your agent often calls search_products when it should call get_inventory. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Inspect traces to see why.
- Improve tool names and descriptions with when-to-use guidance.
- Remove overlap; merge or rename tools.
- Add examples in instructions.
- Re-test on a set of cases.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.