Function calling lets developers describe available functions with names and parameters. The model can then return structured arguments when it decides a function should be used.

In practice

This is useful for extracting data, calling APIs, creating records, searching databases, or routing a user request into backend code.

What to watch

The model suggests the function call, but the application should validate arguments, enforce permissions, and handle errors.