[FEATURE]: Tool output preview #3460

Open
opened 2026-02-16 17:40:10 -05:00 by yindo · 6 comments
Owner

Originally created by @rakibdev on GitHub (Dec 11, 2025).

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently we can't see what it's getting from webfetch or any other tool calls. Sometimes webfetch can have 404 content but AI doesn't mention. It would be helpful if right clicking tool calls opens a preview dialog
Similar to Claude Code's Ctrl+O but Dialog UI is an advantage here. I've a implementation if you're interested.

Image Image
Originally created by @rakibdev on GitHub (Dec 11, 2025). ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Currently we can't see what it's getting from webfetch or any other tool calls. Sometimes webfetch can have 404 content but AI doesn't mention. It would be helpful if right clicking tool calls opens a preview dialog Similar to Claude Code's Ctrl+O but Dialog UI is an advantage here. I've a implementation if you're interested. <img width="787" height="85" alt="Image" src="https://github.com/user-attachments/assets/f07ccf2d-b604-4b9a-b4b3-33c82fcd6a23" /> <img width="1469" height="1008" alt="Image" src="https://github.com/user-attachments/assets/41b1a816-217c-46cf-b028-2ebdd67f1ce5" />
yindo added the discussion label 2026-02-16 17:40:10 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 11, 2025):

This issue is related to existing feature request #1816 about improving tool output visibility. That issue proposes auto-collapse/expand functionality for large outputs with keyboard shortcuts.

While your suggestion focuses on a preview dialog for tool output (particularly useful for seeing hidden content like 404 responses), #1816 addresses a complementary concern about managing large outputs in the UI.

You may want to check that issue to see if the proposed solutions could work together or if there are any relevant discussions about tool output visibility.

@github-actions[bot] commented on GitHub (Dec 11, 2025): This issue is related to existing feature request #1816 about improving tool output visibility. That issue proposes auto-collapse/expand functionality for large outputs with keyboard shortcuts. While your suggestion focuses on a preview dialog for tool output (particularly useful for seeing hidden content like 404 responses), #1816 addresses a complementary concern about managing large outputs in the UI. You may want to check that issue to see if the proposed solutions could work together or if there are any relevant discussions about tool output visibility.
Author
Owner

@rekram1-node commented on GitHub (Dec 11, 2025):

Why not just normal clicking on it?

@rekram1-node commented on GitHub (Dec 11, 2025): Why not just normal clicking on it?
Author
Owner

@rekram1-node commented on GitHub (Dec 11, 2025):

I do like the idea btw

@rekram1-node commented on GitHub (Dec 11, 2025): I do like the idea btw
Author
Owner

@rakibdev commented on GitHub (Dec 11, 2025):

Why not just normal clicking on it?

my bad. meant to write "left". normal click yes.
ensuring that default modifier key behavior doesn't break. for example, 'Ctrl + Click' opens file in VS Code.

@rakibdev commented on GitHub (Dec 11, 2025): > Why not just normal clicking on it? my bad. meant to write "left". normal click yes. ensuring that default modifier key behavior doesn't break. for example, 'Ctrl + Click' opens file in VS Code.
Author
Owner

@rekram1-node commented on GitHub (Dec 13, 2025):

i think pr would be welcome here

@rekram1-node commented on GitHub (Dec 13, 2025): i think pr would be welcome here
Author
Owner

@rakibdev commented on GitHub (Dec 19, 2025):

added https://github.com/sst/opencode/pull/5817

@rakibdev commented on GitHub (Dec 19, 2025): added https://github.com/sst/opencode/pull/5817
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3460