Ray's Knowledge Base
Unlock

"No such tool available: bash" can be a model slip, with no configuration fault

PitfallVerified 1 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

Claude Code prints this error now and then:

Error: No such tool available: bash. Tool names are case-sensitive: call Bash instead

Cause#

The model typed the tool name in lowercase by mistake. In the logs, the model had made several correct Bash calls and then sent bash one time. No agent file, skill or CLAUDE.md was at fault.

Fix#

There is nothing to fix on the user's side. The next call uses Bash and works, so the error costs one step. First rule out a real fault: check that the agent files say tools: Bash, Read, and that no skill or CLAUDE.md tells the model to use lowercase tool names. To see how often it occurs, search the session logs under ~/.claude/projects (the .jsonl files) for No such tool available: bash. Report it with /feedback.

Evidence#

On 2026-10-01 a search of all session logs found 7 lowercase bash calls, all between 2026-09-29 and 2026-10-01. All 7 came from one Sonnet-class model, most of them in subagents or in long sessions. In 6 of the 7 cases the next call used Bash and worked. Lowercase tool names are correct for pi; see the lesson on tool names per harness (8071808d9f).