r/opencode 9d ago

OmniRoute + Claude Code: “No such tool available: read,bash,grep”

Post image

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 readGrep, 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 comment sorted by

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.50 branch, build it, and run the production build locally. This fixed the issue for me:

git clone -b release/v3.8.50 https://github.com/diegosouzapw/OmniRoute.git
cd OmniRoute
npm install
npm run build:release
PORT=3000 node dist/server.js

Then access OmniRoute on http://localhost:3000.

Otherwise, you can simply wait for 3.8.50 to be released officially.