← Glossary

Function Calling

Tool

Definition

A structured capability where the model outputs a JSON object describing which function to call and with what arguments, rather than plain text. The calling application executes the function and feeds the result back. Standard in GPT-4, Claude, and Gemini.