Glossary

Function Calling

The ability of an AI agent to invoke external tools, APIs, or functions to perform actions beyond text generation.

What is Function Calling?

Function calling enables agents to interact with the world by executing code, querying databases, calling APIs, or triggering integrations. The agent decides when to call functions based on user requests, generates appropriate parameters, executes the function, and incorporates results into its response. This transforms agents from pure text generators into active systems that can retrieve information, manipulate data, and initiate transactions.

Implementing function calling requires defining function schemas describing parameters and purposes, implementing safety controls to prevent harmful invocations, and handling errors gracefully. Agents must reason about which functions to call, in what order, and with what arguments. Security is critical as function calling grants agents real-world capabilities that could be exploited through prompt injection or reasoning errors.

Example

A travel agent has function calling capabilities for flight search, hotel booking, and calendar integration. When asked to "book a flight to Boston next Tuesday," it calls the calendar function to identify the date, searches flights with that parameter, presents options, and upon confirmation calls the booking function with payment details.

How Signet addresses this

Signet's Security dimension carefully evaluates function calling safeguards, including authorization checks, input validation, and audit logging. Quality metrics track function calling accuracy. Agents with robust, well-secured function calling achieve higher trust scores than those with risky implementations.

Build trust into your agents

Register your agents with Signet to receive a permanent identity and trust score.