Skip to main content

COMPEL Glossary / function-calling

Function Calling

Function calling is the capability of modern LLMs to produce structured calls to external tools and APIs as part of their output, enabling AI agents to interact with enterprise systems and take real-world actions.

What this means in practice

The process involves tool definition (providing the model with schemas of available tools), tool selection (the model determines which tool to invoke based on task requirements), parameter construction (generating structured parameters that conform to the tool's schema), invocation (executing the call against the actual system), and result processing (incorporating the response into ongoing reasoning). Function calling is what transforms language models from text generators into autonomous actors. It is also the primary source of agentic AI's governance challenges, because tool invocations have real-world consequences. The COMPEL Agent Governance layer requires explicit tool access controls governed by the principle of least privilege.

Why it matters

Function calling transforms language models from text generators into autonomous actors capable of interacting with enterprise systems and taking real-world actions. This capability is the primary source of agentic AI's governance challenges because tool invocations have tangible consequences: database modifications, financial transactions, and system changes. Organizations must govern function calling with the same rigor applied to human system access.

How COMPEL uses it

The COMPEL Agent Governance layer requires explicit tool access controls governed by the principle of least privilege. During Model, function calling permissions are designed as part of agent governance architecture in Module 3.4, Article 11. The Produce stage implements tool access controls with granular permissions. The Evaluate stage reviews tool call logs to verify agents operate within authorized boundaries and identify unauthorized access attempts.

Related articles in the Body of Knowledge

Related Terms

Other glossary terms mentioned in this entry's definition and context.