[PR #12758] feat: expose MCP tool output as collapsible in TUI and web UI #14356

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

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

State: open
Merged: No


What does this PR do?

MCP tool call outputs were completely hidden in both the TUI and web UI.
This PR makes them visible in a collapsed-by-default state that users can expand to inspect the raw output.

How did you verify your code works?

  • Ran bun run typecheck
  • Tested TUI locally with Context7 MCP tools (context7_resolve-library-id, context7_query-docs)
  • Tested web UI locally (packages/opencode serve + packages/app dev server) with the same tools

Resolves #6604

Demo

08 02 2026-Code-1468

09 02 2026-zen-1478

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12758 **State:** open **Merged:** No --- ### What does this PR do? MCP tool call outputs were completely hidden in both the TUI and web UI. This PR makes them visible in a collapsed-by-default state that users can expand to inspect the raw output. ### How did you verify your code works? - Ran `bun run typecheck` - Tested TUI locally with Context7 MCP tools (context7_resolve-library-id, context7_query-docs) - Tested web UI locally (`packages/opencode serve` + `packages/app dev server`) with the same tools Resolves #6604 ### Demo ![08 02 2026-Code-1468](https://github.com/user-attachments/assets/3c6edb4a-1153-4649-b5de-95d7d3bbbca1) ![09 02 2026-zen-1478](https://github.com/user-attachments/assets/8c5b06dd-8d23-4caa-bdc7-32384c6b53d9)
yindo added the pull-request label 2026-02-16 18:19:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14356