-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
Claude Code OAuth API request fails when the tools list contains a tool named read_file. Renaming the tool to _read_file makes the exact same request succeed.
Context (who is affected and when)
Affects users who are signed in with Claude Code OAuth. It happens when Roo Code sends any request that includes file-reading tools.
Reproduction steps
- OS: Linux (any), Roo Code: current main, Provider: Claude Code OAuth, Model: claude-sonnet-4-5
- Sign in with Claude Code OAuth.
- Trigger any chat request where Roo Code sends tools including a tool named
read_file(e.g. read a file from workspace). - Observe: the Claude Code API request fails.
- Rename the tool from
read_fileto_read_file(no other changes). - Repeat the same request.
- Observe: the request succeeds and tool calls still work.
Expected result
The request should succeed and the model should be able to call tools normally.
Actual result
The Claude Code OAuth API request fails only when a tool is named read_file. Renaming it to _read_file makes the same request succeed.
Variations tried (optional)
No response
App Version
3.41.3 and nightly 0.0.7779
API Provider (optional)
None
Model Used (optional)
Claude 4.5 Sonnet
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Date/time: 2026-01-21T15:39:34.349Z
Extension version: 0.0.7779
Provider: claude-code
Model: claude-sonnet-4-5
This credential is only authorized for use with Claude Code and cannot be used for other API requests.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Triage