open_ai: Support structured OpenAI tool output content (#51832)

Allow function call outputs to carry either plain text or a list
of input content items, so image tool results are serialized as
image content instead of a raw base64 string.

Release Notes:

- N/A
be3a5e2c06Ben Brandt committed on 3/18/2026, 12:06:54 PM· committed by GitHubparenteba7cea
2 files changedLine totals unavailable