← Back to Dictionary

Function-Calling

Podcast 1 · Introduction

Function-Calling /ˈfʌŋkʃən ˈkɔːlɪŋ/ · noun

A short documentary narration — meaning, origin, and how the word is used.

In this course, function calling is the ability of an AI model to trigger external tools or actions, like checking the weather or booking a slot, by requesting a defined operation with the arguments, rather than just replying with the text. The related entry for hallucination detection gives a related word, and the Cambridge definition of function+calling and the Merriam-Webster entry for function+calling give the main sense. For more background, see the encyclopaedia article on function+calling.

Ready
Podcast 2 · Daily Use

In Conversation

Two British speakers using "function-calling" naturally in everyday talk.

Ready
Podcast 3 · Prompt Engineering

Prompting with "function-calling"

An instructor and developer explore real, copy-ready AI prompts built around the word.

Ready
1 / 3

Transcript: “Function calling” vocabulary micro-course

Read along with the three podcasts, or open the full dictionary entry for Function calling for the definition, Arabic meaning, synonyms and example sentences.

Podcast 1 — Introduction & meaning

Narrator: Today's word is "Function-Calling" — noun, pronounced /ˈfʌŋkʃən ˈkɔːlɪŋ/, with the stress on "first".

Narrator: Today's word is "Function Calling" — noun, pronounced /ˈfʌŋkʃən ˈkɔːlɪŋ/, with the stress on "first".

Narrator: Function calling is the ability of an AI model to trigger external tools or actions, like checking the weather or booking a slot, by requesting a defined operation with the arguments, rather than just replying with the text.

Narrator: In plain English, it is the AI reaching out, like the assistant that not only says the weather but fetches it, so the function calling lets the model act, not just talk, and it is how the AI connects to the real systems, the databases, and the bookings.

Narrator: The word function comes from the Latin functio, meaning a performance, and calling from the Old English ceallian, meaning to shout, so function calling is shouting for the performance, which is a vivid picture of the request to the tool, and the term entered the AI practice with the tool using models.

Narrator: A common collocation is to enable function calling, which describes the act of allowing the tool requests, and which is the standard use of the phrase.

Narrator: It differs from the plain reply, which is the text only, because function calling acts, so it is about the doing, not the saying, which is why it powers the agents, since the point is the action.

Narrator: A second collocation is a function calling tool, which describes the external operation the model can request, and which is a phrase from the setup.

Narrator: AI products, assistants, and any tool using system all rely on the function calling for the actions.

Narrator: So remember: function calling is the AI reaching out to the tools, and its value is that the model can act, not just talk, but the functions must be defined and safe, since a misdefined tool misfires, so specify them well, and the word is about the action, not the reply.

Read podcasts 2 and 3

Podcast 2 — In conversation

Speaker A: The developer said the assistant uses function calling to book the meetings. What is it?

Speaker B: FUNCTION CALLING combines function, from the Latin functio, meaning a performance, with calling, from the Old English ceallian, meaning to shout. It is the ability of the model to trigger the external tools, like the booking system, by requesting the operation with the details, so the assistant does not just say it will book, it actually books.

Speaker A: So the AI can do things, not just chat?

Speaker B: Exactly. The plain model replies with the text, but with the function calling it requests the tool, like the booking, and the result comes back into the conversation, so the action happens, which is how the assistants actually book, check, and send.

Speaker A: Example sentences?

Speaker B: "Enable function calling." That means allow the tool requests. "The function calling books the meeting." That tells us the action runs. "Add a new function to the calling." That shows a tool is added.

Speaker A: Common mistakes?

Speaker B: A common one is the vague function definitions, since a misdefined tool misfires, so specify the name, the arguments, and the purpose clearly. Another is the unsafe tool, since the model will call it, so limit the actions to the safe ones.

Speaker A: Close relatives?

Speaker B: A cousin is the tool use, which is the broader idea. A twin is the tool calling, which is another name. An alternative is the action request, which is plainer — but function calling keeps its acting charm!

Podcast 3 — Prompt engineering

Speaker B: Let's use "Function-Calling" in AI prompts — useful for connecting actions in an assistant app.

Speaker A: Let's use "function calling" in AI prompts — useful for building an assistant feature and for a tool integration.

Speaker B: I am building an assistant app. How do I use the function calling?

Prompt: Build an assistant feature that can call the tools, like the calendar, when the user asks. Define each tool with the name and the details. Let the assistant request the tool. Let the user see the action taken. Check that the feature works by asking for a booking and confirming it happens.

Speaker A: Build an assistant feature for my app that can call the tools, like the calendar and the contacts, when the user asks. Define each tool with the name, the required details, and the purpose. Let the assistant request the tool with the details filled from the conversation. Let the user see the action taken before it runs. Check that the feature works by asking to book a meeting, confirming the assistant requests the calendar tool, and the booking appears with the confirmation.

Speaker B: How do I keep the actions safe?

Prompt: Let the user confirm the significant actions before they run. Limit the tools to the safe set. Log every call. Let the user revoke a tool. Check that the safety works by running an action and confirming the confirm appears.

Speaker A: Keep the actions safe in my app function calling feature by letting the user confirm the significant actions before they run. Limit the tools to the safe set. Log every call with the details. Let the user revoke a tool from the settings. Check that the safety works by asking the assistant to book a meeting, confirming the user must approve before it runs, the call is logged, and the tool can be revoked.

Speaker B: Our app needs a data lookup. How do I add the tool?

Prompt: Define the lookup tool with the name, the input, and the output. Let the assistant call it when the user asks for the data. Show the result in the chat. Let the user refine. Check that the tool works by asking for the data and confirming the result appears.

Speaker A: One more?

Speaker B: Define the lookup tool in my app for the assistant with the name, the input like the customer name, and the output like the record. Let the assistant call it when the user asks for the data. Show the result in the chat with the source. Let the user refine the query. Check that the tool works by asking for a customer record, confirming the assistant calls the tool, and the result appears with the source named.

Prompt: One more?