AI & automation

What is function calling?

Function calling, also called tool use, is a feature of AI models that lets them request a defined action, such as get_order_status or create_booking, with structured parameters, which the application then carries out and returns to the model.

Why it matters

It turns a language model from a talker into something that can check real data and take real actions: looking up stock, booking appointments, creating tickets or calculating quotes, with your code staying in control of what actually runs.

Keeping it safe

Expose only the tools needed, validate every parameter, check permissions in your code rather than trusting the model, require confirmation for irreversible actions, and log all calls.

Questions, answered

No. It asks for a tool to be called; your application decides whether to run it.

All the major current models from OpenAI, Anthropic, Google and others.

By the Stegnor team · Updated