Antigravity IDE Fails with Roblox studio

So,

I recently tried installing Roblox studio for game development for Roblox. And i got to know it has mcp server with that i can connect my antigravity ide with roblox studio and can work with ease, when i added roblox studio server in antigravity and the connect is done i can see it on roblox studio but when i use gemini 3.1 pro high it fails to answer my queries and this is the error.

Trajectory ID: cc9c782f-d7eb-4a9b-9c80-cce3bd…
Error: HTTP 400 Bad Request
Sherlog:
TraceID: 0xbbcd5c054dfe…
Headers: {“Alt-Svc”:[“h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000”],“Content-Length”:[“218”],“Content-Type”:[“text/event-stream”],“Date”:[“Wed, 11 Mar 2026 14:53:57 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=964”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“bbcd5c054dfe88e4”],“X-Content-Type-Options”:[“nosniff”],“X-Frame-Options”:[“SAMEORIGIN”],“X-Xss-Protection”:[“0”]}

{
“error”: {
“code”: 400,
“message”: “* GenerateContentRequest.tools[19].function_declarations[0].parameters.properties[key_code].enum: only allowed for STRING type\n”,
“status”: “INVALID_ARGUMENT”
}
}

Hi @FRAGE_NITE ,

Thank you flagging the issue. The HTTP 400 – INVALID_ARGUMENT error usually occurs when the tool schema sent to the model is not valid. In this case, the key_code parameter appears to have an enum defined for a non-STRING type, which is not supported

Please try:

1 Like