Skip to content

Function Calling / Tool Use

A capability that lets a model output structured calls to external functions or tools, enabling agents and integrations.

You describe available functions with a JSON schema; the model replies with the function name and arguments to call. Example: asked for weather, it returns get_weather({"city":"Tokyo"}) instead of guessing.

Related resources