Inside Claude Code's Web Tools: WebFetch vs WebSearch

How Claude Code uses web tools under the hood: schemas, prompts, execution, and design trade-offs Claude Code is a popular coding assistant. The tool isn&rsquo;t open-source, so I inspected its runtime behavior to understand the internals. This post documents what I&rsquo;ve seen in the two &ldquo;web&rdquo; tools— WebFetch and WebSearch —and how they&rsquo;re designed. The post is written for…