claude-code - 💡(How to fix) Fix Compact display mode for tool calls (collapse Bash/Write to one-line summaries)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

In long Claude Code sessions, tool calls (especially Bash and Write) render with the full command body + result panel. At scale across an agent fleet making many tool calls per turn, this produces significant visual noise in the transcript and consumes context-window space.

Feature request

A settings.json option or /-command that collapses tool calls to a single-line summary by default (tool name + brief identifier — e.g., Bash: printf ... >> .claude-stop-log or Write: C:\path\to\file.md), expandable on-demand for inspection.

What's missing today

  • No outputStyle, toolDisplay, transcriptVerbosity, or compactTools key in settings.json
  • No CLI flag (--verbose expands; nothing for the reverse)
  • No env var
  • No /-command
  • viewMode: "focus" collapses context panels but does not affect tool input/output rendering

Use case

Multi-agent fleet workflows where users want to see what changed in the world (files shipped, decisions made) rather than every intermediate tool invocation. Tool calls remain useful for audit trail (session JSONL records them regardless of display) but are visually noisy in the live transcript.

Suggested shape

  • settings.json key like toolDisplay.compact: true (or similar)
  • Per-tool override (e.g., compact Bash/Write but not Read, since Read output is often the substance the user wants to see)
  • Expand-on-click in interactive sessions; full render in --print non-interactive mode preserved

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING