Urgent.News

What's breaking now, across hundreds of outlets.

AI

Fix: Gemini CLI 400 Bad Request With 128+ Tools

Originally published on DebugRadar . Gemini CLI returns an HTTP 400 error when too many tools are enabled — the request trips the Gemini API tool limit and fails. The practical fix is to trim your enabled tools: disable the MCP servers and extensions you do not need for the task, then retry. A fix is in progress (pull request #26084 caps the tool count automatically), but it is still open and not…

When using the Gemini CLI with more than 128 enabled tools, it returns an HTTP 400 error because the request exceeds the Gemini API's tool limit. This issue affects the CLI (google-gemini/gemini-cli) and is currently open in the GitHub issue #24246. The exact tool limit threshold is unclear, but treating 128 as the safe ceiling is recommended until further confirmation.

To resolve the error, users should disable unnecessary MCP servers and extensions in the CLI settings and retry the prompt. Pull request #26084, titled "Fix 400 error when 128 tools enabled," aims to automatically cap the tool count at the API limit, but it is still open and not merged. Until the fix is merged, users must manually trim their enabled tools to avoid triggering the 400 error.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Bot Traffic in Analytics: 1,275 'Visitors' in 16 Hours Moved in Step With Meta's AI Crawler (Nov 2026)

On Monday morning I switched aiagentsinfo.com , the research lab and directory for AI agents I run, from a third-party analytics script to my own first-party pageview tracker.

  • On November 23-24, 2026, aiagentsinfo.com saw 1,275 bot visitors in 16 hours.
  • Hourly visitor count peaked at 79.5 during this surge, correlating 0.82 with Meta's AI crawler.
  • No other bot showed correlation above 0.27, indicating Meta-WebIndexer's unique impact.

Multi-Route AI Video Generation: What Happens When a Model Fails

Try it live: aishow.uno Most AI video tools use a single route. When that route fails — the model is removed, the price table changes, the account hits a quota, or the job sits in a queue forever…

  • Multi-route system hides multiple real routes behind a single customer-facing model.
  • Validation checks ensure selected model and route are valid before job submission.
  • Unknown failures trigger job to move to next route, preventing false negatives.

More from Wednesday 25 November →