Function Calling and Tool Use
Definition
Function calling and tool use let a model request structured actions such as querying a database, calling an API or using search, with the surrounding application executing the action.
What is function calling?
Function calling is a structured interface that lets a model request that surrounding software perform a defined operation. The model chooses a tool and produces arguments; the application validates and executes the call.
Examples of tools
A tool may search a database, retrieve weather data, create a calendar event, run code or update a business system. The model does not directly gain unlimited access to the computer; the application decides which functions exist and what permissions they have.
Why tool use matters
LLMs are strongest at interpreting and generating unstructured information. Tools let them connect that language ability to exact software operations and current data. Safe tool systems validate arguments, restrict permissions and handle errors outside the model.
Related terms, defined
Reference guide and primary sources
Wikipedia is used here as a terminology and history reference guide. Current model versions, institutional statistics and product-specific claims are also linked to first-party or institutional sources because those details can change faster than encyclopedia articles.