Reported by @tropic dew
OpenAI Developer Community
We’ve updated function calling to support files and images as tool call outputs. You can now call functions like generate_chart or load_image and return those files back to the model, rather than just JSON or text. 🌠 https://platform.openai.com/docs/guides/function-calling