Function calling for AI Engineers
Function calling lets a model request that your code run a tool, such as a database query, and then use the result.
Stage: Agents and tools · Part of the AI Engineer roadmap · Last reviewed 19 November 2026
What to learn in Function calling
- Defining tool schemas
- Validating arguments
- Handling errors
Function calling interview questions
Why validate tool arguments from a model?
Models can produce wrong or unsafe arguments, so validate them like any untrusted user input.
Where Function calling fits in the AI Engineer roadmap
Function calling belongs to the Agents and tools stage. Let models take actions.
Other units in this stage
Back to the full AI Engineer roadmap