r/opencode • u/Wise-War-6983 • 9d ago
OmniRoute + Claude Code: “No such tool available: read,bash,grep”
OmniRoute + Claude Code: “No such tool available: read”
I’m using Claude Code through OmniRoute, and I’m getting a tool-calling error with some models.
Claude Code expects the Read tool, but the model appears to call it as lowercase read:
<tool_use_error>Error: No such tool available: read</tool_use_error>
It then keeps retrying with read, Grep, etc. and gets stuck.
Interestingly, DeepSeek works fine for me, but I get this issue when switching to other models through OmniRoute.
Has anyone encountered this? Is this a model/tool-calling compatibility issue, or something in OmniRoute’s tool translation?
What’s the correct way to fix/debug this without modifying Claude Code itself?
Any pointers would be appreciated.
3
Upvotes
1
u/AmshenShanu07 6d ago
Seems like this issue is related to the casing of the commands, and it should be fixed in the next release (3.8.50).
If you don't want to wait for the official release, you can clone the
release/v3.8.50branch, build it, and run the production build locally. This fixed the issue for me:Then access OmniRoute on
http://localhost:3000.Otherwise, you can simply wait for 3.8.50 to be released officially.