Function calling vs free-form text output
Function calling constrains the model to a structured action request, while free-form text leaves the output unconstrained.
- Structured outputs are easier to automate
- Text is flexible but brittle
- Use schemas when code depends on it
Function calling vs free-form text output