All TermsGlossary

Function Calling

A capability of modern LLMs that allows them to generate structured requests to invoke specific functions or APIs. When an LLM determines that it needs to take an action — such as searching a database, calling an API, or performing a calculation — it outputs a structured function call with the appropriate parameters, which the host application then executes and returns results to the model.