[BUG] Claude is calling WebFetch call to inspect local apis and it fails

Resolved 💬 3 comments Opened Dec 22, 2025 by junaid1460 Closed Dec 22, 2025

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?

Not a serious issue it uses bash after, it should ideally know that it can't use WebFetch for this case.

What Should Happen?

Either WebFetch should support local apis or We should clearly mention it can't call local; apis with Web Fetch

Error Messages/Logs

> Check definition of latest api changes by fetching open api spec

. WebFetch(prompt: "Extract the complete API spec for: 1. Entity schema ... ts", url: "http://localhost:8080/openapi/movie-builder.json")
. Bash(command: "curl -s http://localhost:8080/openapi/movie-builde ... d -500", description: "Fetch OpenAPI spec for movie-builder")

Steps to Reproduce

Just ask it to check in any locally running open api spec

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.73 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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