Web Fetch tool result URL overflows container

Resolved 💬 3 comments Opened Jan 9, 2026 by jerclark13 Closed Feb 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

<img width="563" height="158" alt="Image" src="https://github.com/user-attachments/assets/40f7e8e7-b28e-45b8-b195-5be69a279b85" />

The URL text in Web Fetch tool results extends beyond its container box instead of being truncated or wrapped.

Steps to reproduce:

Use WebFetch tool with a long URL
Observe the tool result display
Expected: URL should truncate with ellipsis or wrap within the container

Actual: URL text overflows outside the container boundary

Environment:

Claude Code version: 2.0.51
OS: macOS
IDE: VS Code

What Should Happen?

I should be cut off in the box.

Error Messages/Logs

Steps to Reproduce

Open Claude Code in VS Code
Ask Claude to fetch a webpage with a long URL, e.g.: "Fetch https://docs.digitalocean.com/products/app-platform/how-to/configure-edge-settings/ and summarize it"
Look at the Web Fetch tool result in the chat
The URL in the result header overflows its container box

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.51 (Claude Code)

Platform

Other

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗