Skip to content

[Feature] Webchat UI: Add collapsible tool output summary mode #47386

@owen-cjw

Description

@owen-cjw

Summary

Add collapsible summary mode for tool executions in webchat UI to reduce visual noise

Problem to solve

Currently the webchat UI displays each tool execution as separate messages (e.g., "1 tool exec", "tool output"), creating excessive visual noise. When an agent runs multiple tools in one turn, users see dozens of individual messages that clutter the conversation and make it hard to follow the flow.

Proposed solution

Add a collapsible summary mode for tool executions:

  1. Default: Show a single summary button like "📦 5 tool calls" instead of individual messages
  2. Expand on demand: User clicks to expand and see individual tool details
  3. Configurable: Add setting to choose between "detailed" and "summary" modes

Example:

  • Current: "1 tool exec" → "tool output" → "2 tool exec" → "tool output"...
  • Proposed: "📦 2 tool calls [expand]"

Alternatives considered

No response

Impact

Affected: Webchat UI users
Severity: Annoying
Frequency: Always (when running multiple tools)
Consequence: Visual clutter, harder to follow conversation flow

Evidence/examples

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestissue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions