Function calling

Function calling / tool use

Function calling, also known as tool use, is the ability of a language model to decide for itself that it needs a particular function or tool, and to issue structured instructions for it. Your software carries out the function, for example looking up a customer, and returns the result to the model.

Function calling, also known as tool use, is the ability of a language model to decide for itself that it needs a particular function or tool, and to issue structured instructions for it. Your software carries out the function, for example looking up a customer, and returns the result to the model.

How it works

You describe to the model which tools are available, with a name, an explanation and the data required, for example "find_customer" with a name or VAT number. When someone asks a question for which that tool is useful, the model does not answer with text but with a tidy instruction: use find_customer with this value. Your own software carries that out through an API and sends back the result. The model works that into its answer or chooses the next tool. The model itself executes nothing; your software does.

What it does for an SME

  • An assistant that pulls a customer’s actual outstanding balance from your accounts rather than guessing.
  • Customer service that looks up the status of an order or delivery in your system.
  • A scheduling aid that finds free slots in the calendar and proposes an appointment.
  • Data from an email or document that lands in your software in a structured form.

Function calling is the building block that takes a language model from talking to doing, and the basis of every AI agent.

What to watch

Every tool you offer is a door into your systems. Give the model only the tools it really needs, and distinguish between reading and writing. Check the instructions the model issues in your own software: is the amount right, does the customer exist, is this user allowed to do this. Have a person confirm actions with consequences, such as a payment, an order or an outgoing email. Clear tool descriptions also reduce the chance that the model picks the wrong one.

How SBC works with it

SBC’s assistant uses tools to look up emails, invoices and payments and to prepare proposals, but anything with consequences is only carried out after approval. Through AI integration services we connect language models to clients' software in the same way, checking every instruction before it is executed.

Also known as: tool use, tool calling, function call, using tools

Frequently asked questions

What you want to know.

Short answers to what business owners ask most often here.

What is the difference between function calling and MCP?

Function calling is a model’s ability to use tools. MCP is a standard for offering those tools in a uniform way, so that one connection works with different AI applications.

Can an AI model make payments this way?

Technically yes, if you offer such a tool, but it is not advisable without human confirmation. Let the model prepare and a person approve.

Next step

What can AI do for you?

Start with the free AI Opportunity Scan, or request an AI project straight away. A short intake, then a concrete proposal at a fixed price.