Interview Prep/Agentic AI/Tool use & function calling

The model calls the wrong tool for a question. How do you fix it?

IntermediateScenarioTool use & function calling
Answer

Improve tool names and descriptions, add "use this when…" and "do not use for…" lines, remove overlapping tools, and add a few examples in the system prompt. Then test with an evaluation set of questions and expected tool choices.

All Agentic AI questions Roadmap: Agentic AI & MCP

More on Tool use & function calling