Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Agents

function calling

advancedwidespread

The capability by which a language model not only writes text but requests the program in a structured format to execute a predefined operation.

In plain terms

A language model alone can only generate text: it cannot access your calendar, know today's exchange rate, or send emails. Function calling breaks down this barrier. The model receives a list of operations it can request, and if needed, it asks for one.

It is like a waiter and a kitchen in a restaurant. The waiter (the model) talks to you, understands what you want, but does not cook. It writes a precise order on a slip, the kitchen (the program) prepares it, and the waiter brings it out and tells you what you received.

It is important that the model itself does not run anything. It only provides a filled-out 'order form': which operation is requested and with what data. Whether this actually happens is decided and executed by the program surrounding it.

This is what turns a chatbot into an agent: function calling is the hand by which the AI reaches from text toward real systems.

How it works

  1. The developer describes the available tools to the model: their names, purposes and what data they expect (for example: 'query weather', input: city and date).
  2. You ask a question, and the model decides whether it can answer from memory or needs to use a tool.
  3. If a tool is needed, the model does not write the final answer but a machine-readable, structured request (typically JSON): the function name and the filled-in data. It can request multiple tools at once.
  4. The program checks the request, executes the actual operation (queries a database, calls a service), and returns the result to the model.
  5. Based on the result, the model formulates the answer, or if needed, requests another tool. This allows it to complete tasks consisting of many steps.

An everyday example

You ask an AI assistant whether you need an umbrella in Szeged tomorrow and when the morning train departs from Budapest. The model calls a weather and a schedule query function in the background, then assembles the answer from the fresh data. You only see that the assistant 'looked it up'.

Who is affected

developerIt defines the tools and executes the operations requested by the model, so reliability and security hinge on it. → Code
entrepreneur, executiveThrough this, the AI can be connected to corporate systems (billing, customer records, warehouse), which is what turns chatting into actual work.
employeeOffice AI assistants can thus create calendar entries, search for emails, or fill out spreadsheets on your behalf. → Work & HR
everyoneIf an AI provides fresh data or handles a task for you, a function call is likely occurring in the background.

A common misconception

MythThe model itself runs the programs and has free access to anything on the internet or your machine.
In realityThe model only formulates a request and can only actually use the tools made available to it by the developer or provider. Execution always happens outside the model, in the surrounding program, which can also reject the request.

Limits and risks

Similar, but not the same

Related concepts

Broader

AI-agent, large language model, tool use

Narrower

parallel function calling, tool description

On the edge

Model Context Protocol, structured output, API, prompt injection, agentciklus

A brief history

The term was popularized by OpenAI when it introduced function calling in the GPT models' programming interface in June 2023. Other major model developers quickly followed, typically under the names 'tool use' or 'tool calling'.

Where things stand

By the end of 2026, this is a basic capability of every major language model, and AI agents and assistants are built on it. The focus is already on the standardized connection of tools (for example, MCP) and on secure, controlled execution.

Status: 2026 November

In the news

Appears in 3 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

function calling · function calling · function calling · tool calling · tool use · tool calling · tool use

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.