←back to thread

Gemini CLI

(blog.google)
1342 points sync | 8 comments | | HN request time: 0.001s | source | bottom
1. elashri ◴[] No.44377379[source]
Hi, Thanks for this work.

currently it seems these are the CLI tools available. Is it possible to extend or actually disable some of these tools (for various reasons)?

> Available Gemini CLI tools:

    - ReadFolder
    - ReadFile
    - SearchText
    - FindFiles
    - Edit
    - WriteFile
    - WebFetch
    - ReadManyFiles
    - Shell
    - Save Memory
    - GoogleSearch
replies(4): >>44377462 #>>44377496 #>>44377796 #>>44379265 #
2. _ryanjsalva ◴[] No.44377462[source]
I also work on the product. You can extend the tools with MCP. https://github.com/google-gemini/gemini-cli/blob/main/docs/t...
replies(2): >>44378125 #>>44380322 #
3. cperry ◴[] No.44377496[source]
I had to ask Gemini CLI to remind myself ;) but you can add this into settings.json:

{ "excludeTools": ["run_shell_command", "write_file"] }

but if you ask Gemini CLI to do this it'll guide you!

4. bdmorgan ◴[] No.44377796[source]
I also work on the product :-)

You can also extend with the Extensions feature - https://github.com/google-gemini/gemini-cli/blob/main/docs/e...

5. silverlake ◴[] No.44378125[source]
I tried to get Gemini CLI to update itself using the MCP settings for Claude. It went off the rails. I then fed it the link you provided and it correctly updates it's settings file. You might mention the settings.json file in the README.
6. SafeDusk ◴[] No.44379265[source]
Pretty close to what I discovered is essential in https://github.com/aperoc/toolkami, 7 tools will cover majority of the use cases.
7. ericb ◴[] No.44380322[source]
Feedback: A command to add MCP servers like claude code offers would be handy.
replies(1): >>44380862 #
8. _ryanjsalva ◴[] No.44380862{3}[source]
100% - It's on our list!