Add support for model-generated function calls to external tools.
Add support for model-generated function calls to external tools.