AI glossary · Integration
Function calling
In one sentence
Function calling is a language model's ability to reply, instead of with text, with a structured request to use a specific function, giving its name and arguments. Your system runs that function and hands the result back to the model.
Also known as: tool calling · tool use · function call · AI tool use
What is function calling?
A language model can’t look at your calendar or write to your CRM: all it does is generate text. Function calling is the bridge. You describe some available functions to the model, such as “check free slots” or “create appointment”, and the model learns to reply with a structured request to use them when the conversation calls for it.
Put it to work
UTIO's AI, through an API
From €29/mo + VAT
For developers and agencies building their own products.
See the AI APIIt’s the piece that turns a chatbot that talks into an AI agent that gets things done.
Related to this term
AI API
- Transcription, voice, text, image, OCR and embeddings
- Per-client keys with a spending cap
- Prepaid wallet: €50 minimum top-up
From €29/mo + VAT Panel account, plus usage
See the AI APIHow it works
- You describe the tools. Alongside the user’s message you send a list of functions: their name, what they do and which parameters they take, as a JSON schema.
- The model decides. If it needs a tool to answer, it returns a structured call instead of text.
- Your application runs it. It validates the arguments, calls the relevant API and gets the result.
- The model replies. It receives the result and turns it into a natural answer, or decides to use another tool.
The model’s request looks something like this:
{
"name": "create_appointment",
"arguments": { "date": "2026-10-09", "time": "10:00", "service": "hygienist" }
}
How it differs from its neighbours: the API is what runs at the end of the chain; a webhook is a notification arriving from outside; and MCP is a standard for publishing tools so any compatible assistant can discover them. Function calling is the model’s own mechanism for asking to use them.
Example
A dental practice in Cardiff puts a voicebot on the phones. A patient asks, “Have you got anything Thursday morning with the hygienist?” The model doesn’t guess: it calls the free-slots function for Thursday. The application returns 10:00 and 11:30. The agent offers both, the patient picks 10:00 and the model calls the create-appointment function, then confirms out loud.
Function calling at UTIO
UTIO’s voice agent takes real actions during the call: it reads your Google Calendar, offers slots that actually exist and books, moves or cancels the appointment; it logs messages in the CRM and transfers the call by time of day or topic. That “decide which action is needed and with what data” step is exactly what this term describes.
Autonomy is set in levels (no AI, ask first, draft or automatic), so you can start with an agent that proposes the action and a person who approves it. If you’re a developer, the AI API gives you the building blocks for your own tools.
Frequently asked questions
Does the model run the function itself?
No. The model only says which function it wants to use and with what data. Your application runs it, and can validate the arguments, ask for confirmation or refuse before anything happens.
Is function calling the same as tool calling?
Yes, they're two names for the same thing. Early providers said “function calling”; many now prefer “tool calling” or “tool use”, because a tool can be a search, a database or an API, not just a code function.
What if the model makes up an argument?
It can happen. That's why each function is described with a clear parameter schema and your application validates what comes in before acting. If something is off, the error goes back to the model so it can fix it or ask the user.
Related terms
- AI agent
An AI agent is a system that uses a language model to understand a request, decide which steps to take and carry them out with real tools, such as your calendar or CRM, until the task is done rather than just replying.
- API
An API (application programming interface) is a set of rules that lets one program ask another for data or an action: you send a request in an agreed format and get a response back, without needing to know how the other system works inside.
- MCP (Model Context Protocol)
MCP (Model Context Protocol) is an open standard that defines how an AI application connects to external tools and data sources. Each service is exposed once as an “MCP server”, and any compatible assistant can use it without a bespoke integration.
- Voicebot
A voicebot is a program that holds spoken conversations: it listens to what a person says, works out what they want and answers out loud. It can run on a phone line, a website, an app or a smart speaker, and with generative AI it handles open conversation, not just menus.
Updated on