You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Show inline images in Web UI tool results
#4333
When an MCP tool returns a chart or screenshot, I'd like to see it in the tool result without asking the agent to resend it as a separate attachment.
I reproduced this on 7167d2a with an MCP result containing a text caption and a small PNG. The MCP adapter preserved the image as an image/png DataBlock, but the default tool-result renderer rendered only the caption and [IMAGE.png].
I'd keep the first pass frontend-only: show base64 PNG and JPEG images when a completed generic tool result is expanded, keep text and images in their original order, and retain the existing placeholder for external URLs and unsupported or oversized images. No changes to the backend or to specialized tool renderers.
I'd verify image-only and mixed text/image results, saved chat history, and the existing text and placeholder behavior. Would this scope fit the Web UI? If so, I'd be happy to take it on once the issue is assigned.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When an MCP tool returns a chart or screenshot, I'd like to see it in the tool result without asking the agent to resend it as a separate attachment.
I reproduced this on
7167d2awith an MCP result containing a text caption and a small PNG. The MCP adapter preserved the image as animage/pngDataBlock, but the default tool-result renderer rendered only the caption and[IMAGE.png].I'd keep the first pass frontend-only: show base64 PNG and JPEG images when a completed generic tool result is expanded, keep text and images in their original order, and retain the existing placeholder for external URLs and unsupported or oversized images. No changes to the backend or to specialized tool renderers.
I'd verify image-only and mixed text/image results, saved chat history, and the existing text and placeholder behavior. Would this scope fit the Web UI? If so, I'd be happy to take it on once the issue is assigned.
All reactions