[PR #10649] feat(tui): add custom tool and mcp call responses visible and collapsable #13512

Open
opened 2026-02-16 18:18:21 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10649

State: open
Merged: No


What does this PR do?

Adds collapsible display for custom tool and MCP call responses in the TUI.

Fixes #6604

Before:

https://github.com/user-attachments/assets/83c713fd-cf49-402e-b472-dd77ad161546

After:

https://github.com/user-attachments/assets/87a00f3c-4db8-45d4-9177-1969c65a8e9a

How did you verify your code works?

After applying the update, I've build the app with bun packages/opencode/script/build.ts --single and tested the output of one custom tool and one mcp call, to check that it is displayed correctly and checked the generated log in .local/share/opencode/log for any errors.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10649 **State:** open **Merged:** No --- ### What does this PR do? Adds collapsible display for custom tool and MCP call responses in the TUI. Fixes #6604 #### Before: https://github.com/user-attachments/assets/83c713fd-cf49-402e-b472-dd77ad161546 #### After: https://github.com/user-attachments/assets/87a00f3c-4db8-45d4-9177-1969c65a8e9a ### How did you verify your code works? After applying the update, I've build the app with `bun packages/opencode/script/build.ts --single` and tested the output of one custom tool and one mcp call, to check that it is displayed correctly and checked the generated log in `.local/share/opencode/log` for any errors.
yindo added the pull-request label 2026-02-16 18:18:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13512