github / github/copilot-cli

Tool 'str_replace' does not exist.

Open
#4,027 1 comment 15 reactions 0 assignees View on GitHub
area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

I see this quite often when copilot works on java code it prints

> JV Edit X.java Tool 'str_replace' does not exist.

followed by another edit (maybe using the diff tool?)

> JV Edit X.java +1 -1

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

No file, test, entry point, affected version, or reproduction steps are provided. Start by capturing a Java coding prompt that produces the missing str_replace-tool message and compare the subsequent edit behavior. Done means identifying why the unavailable tool is requested and confirming that the same task completes without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.