What is function calling?

Tool use, custom functions

Function calling, also called tool use, lets an AI agent ask your systems for information or actions during a conversation. On a phone call, the agent can look up an order, check an account or create a ticket while the caller waits.

  1. Caller asks: “Where is my order A-1042?”
  2. Agent picks a function: It chooses check_order with the order number.
  3. Your API answers: Your server returns the order status.
  4. Agent replies: It tells the caller in plain words.

How function calling works

The AI decides when a function is needed and what to send, but your server stays in control: it checks the request, applies its own rules and returns only what the caller should hear. Fast endpoints matter, because the caller is waiting on the line.

Where it fits in a voice AI call
  1. 1Connect
  2. 2Hear
  3. 3ThinkThe AI decides what to say and can ask your systems.
  4. 4Speak
  5. 5Act
  6. 6Report

How Nixflex uses function calling

What you can set up today on a Nixflex agent, in the dashboard or through the API.

An example

A short, made-up moment that shows function calling in a real conversation with a Nixflex agent.

CallerCan you check order A-1042?
AgentIt left our warehouse this morning and should arrive tomorrow before noon.

Related terms

Words that often come up next to function calling when you build on Nixflex.

Frequently asked questions

Your server decides what to allow. Check each request, use your own business rules, and only return what the caller should hear.

Up to 15 custom functions per number in Nixflex.

A short one while your server answers. Keep endpoints fast, and the agent can say a short line while it waits.

Still have a question?

Contact us

Try it on a real call.

Build a Nixflex agent in minutes and hear it answer. $10 free credit, no subscription.