google-gemini / google-gemini/gemini-cli

Gemini CLI encounters 400 error with > 128 tools

Open
#24,246 2 comments 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/bug priority/p2 status/bot-triaged status/need-information workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

Gemini CLI encounters a 400 error when there are more than 400 tools available.

### What did you expect to happen?

I'd expect the agent to be a bit smarter about limiting tools in scope of enabled tools.

### Client information

Client Information

Run `gemini` to enter the interactive CLI, then run the `/about` command.

```console
> /about
# paste output here
```

### Login information

_No response_

### Anything else we need to know?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.