Intermediatehow it works Verified ~9 min
How does tool calling work?
Quick answerFree
The application sends the model a list of tools, each with a name, a description and a JSON input schema. The model decides whether a tool helps; if so it stops with a tool-use reason and returns a structured call with arguments.
Detailed answer· ~320 words
Interview PrepUnlock the full answer with Interview Prep
Get a ~320-word model answer, 5 key points, a visual explainer, 5 common mistakes and 5 follow-ups, plus 24 more Generative AI questions.
Also in Pro (₹499 / 90 days).
Key points· 5 points
Interview PrepUnlock with Interview Prep
Visual explainer· animated, step by step
Interview PrepUnlock with Interview Prep
Common mistakes· 5
Interview PrepLocked
Best practices· 5
Interview PrepLocked
Likely follow-ups· 5 questions
Interview PrepUnlock with Interview Prep
+ 24 more Generative AI questions in Interview Prep, each with the full answer.