Description
What happened?
From this discussion:
I'm prompting Gemini to modify a file, and it attempts to do so by using the replace
or write_file
tools but it fails because it find them. An example of the error is
Error executing tool replace: Tool "replace" not found in registry.
Perhaps I have an installation issue (I used the npm install -g @google/gemini-cli
method).
A simple prompt to repro:
$ gemini --prompt "Write a foo.py python file that prints hello world"
Error executing tool write_file: Tool "write_file" not found in registry.
What did you expect to happen?
A new foo.py
to be written.
Client information
$ gemini /about
│ CLI Version 0.1.7
│ Git Commit 55cc809
│ Model gemini-2.5-pro
│ Sandbox no sandbox
│ OS linux
│ Auth Method gemini-api-key
Login information
No response
Anything else we need to know?
I installed gemini using npm install -g @google/gemini-cli