[BUG] When I use 3rd-party API KEY in claude code, can not use tools after modal response

Resolved 💬 1 comment Opened Mar 25, 2026 by storageChu Closed Mar 26, 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?

settings.json file like this.
<img width="611" height="222" alt="Image" src="https://github.com/user-attachments/assets/39001f21-d2b9-4c70-8226-0e0b4a9ffa9d" />

When I run /init command.

<img width="1101" height="102" alt="Image" src="https://github.com/user-attachments/assets/50f0187c-c050-493d-9044-adff5873be27" />
Claude code stop running after return "I'll analyze this codebase to create a CLAUDE.md file. Let me start by exploring the repository structure and understanding the project."

It seems that can not use tools. But when I use claude opus 4.6. It works great.

What Should Happen?

Can use tools to execute /init command.

Error Messages/Logs

Steps to Reproduce

Just run /init

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.81

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗