Skip to content
ai

Function calling

LLM Function Calling

Definition

Function calling allows language models to request the execution of predefined functions by emitting structured JSON describing the function name and arguments. The host application executes the function and returns the result to the model, which incorporates it into the response.

Function calling is the foundation for tool use in AI agents, enabling models to query databases, call APIs, and interact with external systems.

Can this ship? Are we exposed? Can you prove it?

Every CISO is asking these three questions. We answer them with facts, not guesses, from repository to runtime.