Function calling — Function calling is a feature that lets a language model request that a program run a specific function, such as checking the weather or searching a database. The model decides when a function is needed and supplies the inputs. The program runs it and returns the result to the model. It is the basis of tool use in AI apps.

Added October 21, 2026