Copilot answers 400 "invalid request body" to every Gemini turn whose tools
have a schema with a required entry naming no property (common in MCP
tools), or two tools of one name. Probed live on a real Copilot account
with gemini-3.8-flash: required-missing, nested required-missing, required
without properties, and duplicate names were each 400; the same request
with the entry or the second tool gone was 200. Claude Code, Codex and
OpenCode bodies without those were 200. Now such required entries are
dropped and the first of same-named tools kept, for Copilot's Gemini on
chat only; a clean tools array goes byte for byte as it came.
Run: new TestCopilotGeminiTakesToolsFit and the TestCopilotGemini* set
(Linux, wsl-run); red with the call removed by hand (400 back). vet on
darwin, linux, windows and the gateway and gui tests on mote.
Not tried: Gemini tool names with a space, a leading digit or a slash are
also 400 on Copilot (probed); a rename needs the reply mapped back, so it
is left. items given as an array and boolean schemas are 400 too, left.