Tool-call summary line clamps to 2 lines with no expand toggle
Extension: Claude Code for VS Code v2.1.220 (darwin-arm64)
Description:
Individual tool-call blocks in the chat panel (e.g. MCP tool invocations like execute_sql_query) render their header/summary line via a bare <summary> element with CSS -webkit-line-clamp: 2; overflow: hidden. There is no <details> wrapper and no click handler attached, so long content (e.g. a multi-line SQL query) gets hard-clipped at 2 lines with no way to expand it in the UI.
Elsewhere in the same extension, a proper <details>/<summary> collapse pattern is used and works correctly (e.g. the chat-compaction summary block), so the pattern exists — it's just not wired up for individual tool-call headers.
Steps to reproduce:
- Run any MCP tool call with a long query/argument (e.g. a multi-line SQL SELECT via a Snowflake MCP server).
- Observe the tool-call header in the chat panel.
- Long argument text is clipped after 2 lines; no button/toggle appears to view the rest.
Expected: Clicking the tool-call summary line (or a dedicated expand affordance) should reveal the full argument text, consistent with the <details>/<summary> behavior used elsewhere in the extension.
Actual: Content is silently truncated with no way to expand.