Skip to content

Gemini CLI encounters 400 error with > 128 tools #24246

@gundermanc

Description

@gundermanc

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.

> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualityworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

    Type

    No fields configured for Bug.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions