# open_ai: Support structured OpenAI tool output content \(\#51832\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/be3a5e2c061823c5fa4de56e4eec58e68319a0ac)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: be3a5e2c061823c5fa4de56e4eec58e68319a0ac

Requested commit: be3a5e2c061823c5fa4de56e4eec58e68319a0ac

Commit: be3a5e2c061823c5fa4de56e4eec58e68319a0ac

Tree: 9c503235418428cdaf7d194925e657c778799865

Author: Ben Brandt

Committer: GitHub

## Message

```
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
```

## Parents

- [eba7cea22ad2103ffb2bc658ac43dc03d737f6dd](https://git.cafe/gitcafe/zed/commit/eba7cea22ad2103ffb2bc658ac43dc03d737f6dd?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/be3a5e2c061823c5fa4de56e4eec58e68319a0ac?format=markdown)
