Gemini genereateContent with toolConfig is broken for gemini-2.0-flash?

When sending api call to gemini with toolsConfig the request always fails (with ANY parameter), the exact same requests didn’t fail last week.

https://ai.google.dev/api/generate-content#function-calling