Retrieval & Agents

Function Calling

A capability that lets a model use external tools by outputting a structured request to run a specific function.

Function calling, also known as tool use, lets a model reach beyond text by producing a structured call that your code executes, such as look up this order or send this email. The model decides when a tool is needed and with what inputs, the system runs it, and the result flows back into the conversation. It is the mechanism that turns a chatbot into something that can actually do things in other systems.