Inappropriate Tool Selection ONLY when supplying the prompt as CLI argument
Resolved 💬 2 comments Opened May 1, 2025 by AtiX Closed Nov 30, 2025
Bug Description
Only when using claude with a prompt on the CLI, the tool selection is reproducibly wrong.
Error case:
- Execute claude with
claude 'Update the changelog to reflect the recent changes committed to this repository' - BUG: instead of using the local git / file reader tools, Claude uses random other tools like installed MCPs such as brave_search and confluence. Tools are called with wrong arguments (e.g. brave search: "CHANGELOG.md contents")
Success case:
- Start claude with
claude - Type/Paste the same prompt:
Update the changelog to reflect the recent changes committed to this repository - Claude works as expected and uses local tools
The erroneous behavior, at least for me, is reliably reproducible.
Environment Info
- Platform: macos
- Terminal: intellij
- Version: 0.2.94
- Feedback ID: 893817e2-9ad7-4e1c-89d8-ca18f22b0c95
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗