{
“error”: {
“code”: 400,
“message”: “* GenerateContentRequest.tools[26].function_declarations[0].parameters.properties[max_depth].enum: only allowed for STRING type\n* GenerateContentRequest.tools[26].function_declarations[0].parameters.properties[max_depth].enum[0]: cannot be empty\n* GenerateContentRequest.tools[26].function_declarations[0].parameters.properties[max_depth].enum[1]: cannot be empty\n* GenerateContentRequest.tools[26].function_declarations[0].parameters.properties[max_depth].enum[2]: cannot be empty\n”,
“status”: “INVALID_ARGUMENT”
}
}
If I use other models everything is ok
Hello @Pietro_Roversi, welcome to Google AI Forum!
Thank you for bringing this to our attention. We have escalated the issue to our internal teams for a thorough investigation.
To ensure our engineering team can investigate and resolve these issues effectively, we highly recommend filing bug reports directly through the Antigravity in-app feedback tool. You can do this by navigating to the top-right corner of the interface, clicking the Feedback icon, and selecting Report Issue.
Updating package using npm install -g @a-bonus/google-docs-mcp@latest
problem disappear for few seconds..but after one discussion situation is the same
I’m running into the same Gemini 3.1 / Antigravity 400 error. Did you ever find a reliable fix or workaround? Also, does the issue still occur with the newer versions of Antigravity