Skip to content
~/reflective_data

analytics-dictionary / term / ai

Function calling (tool use)

Function calling lets a language model request that your code run a defined tool, such as a database query, and use the result.

Written by Reflective Data experts · updated Oct 5, 2026

You describe the tools and their inputs; the model decides when to call them and with what arguments; your system executes them safely and returns the output. It is how assistants become agents.

Validate arguments and restrict permissions: the model is not a trusted caller.

related

Agent harnessAI agentModel Context Protocol (MCP)

// how we can help

We build company brains, agent harnesses and AI bots on top of data you can trust. AI services → · The data platform behind it