Feature Request: Add setting to auto-expand tool results (Read, Grep, etc.)
Resolved 💬 3 comments Opened Mar 23, 2026 by Liang5757 Closed Mar 26, 2026
Feature Request: Add setting to auto-expand tool results (Read, Grep, etc.)
Problem
Currently, when Claude Code executes tools like Read, Grep, or other file operations, the results are collapsed by default in the transcript view. Users need to manually press Ctrl+O to expand and view the content each time.
For users who frequently need to review file contents or search results, this adds unnecessary friction to the workflow.
Proposed Solution
Add a configuration option in settings.json to control the default expansion state of tool results:
{
"defaultToolResultExpanded": true
}
Or more granularly:
{
"toolResultExpansion": {
"Read": true,
"Grep": true,
"Bash": false
}
}
Use Case
- Users who are actively reviewing code and need to see file contents immediately
- Debugging sessions where quick access to full output is important
- Workflows that involve frequent file reading operations
Current Workaround
Manually pressing Ctrl+O for each tool result.
Additional Context
This would be particularly useful for:
- Code review workflows
- Debugging sessions
- Educational/learning scenarios where seeing full context is important
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗