Just Think AIStart thinking

GlossaryTerm

Function Calling

Same idea as tool use — the model returns a structured call for your code to execute.

Function calling is OpenAI's name for what most people now call tool use: you describe a set of functions to the model with JSON Schema, and the model decides which to invoke and with what arguments. Your code runs the function and feeds the result back.

It's the foundation of nearly every agent and assistant in production. Best practices: keep schemas small and unambiguous, use enum for fixed choices, validate the model's output before executing, and return errors as readable strings the model can recover from. See also our System Prompt Builder for prompt-side patterns.

Bring this to your business

Knowing the term is one thing. Shipping it is another.

We do two-week AI Sprints — one term, one workflow, into production by Day 10.