Gemini/Antigravity generateContent rejects the JSON Schema annotation keywords deprecated, readOnly, writeOnly with a 400 INVALID_ARGUMENT. MCP tool schemas (e.g. Claude Code) commonly set deprecated:true, making every request with such a tool fail. Add them to UNSUPPORTED_SCHEMA_CONSTRAINTS so cleanJSONSchemaForAntigravity removes them recursively before the request is sent. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| claude.js | ||
| gemini.js | ||
| maxTokens.js | ||
| openai.js | ||
| responsesApi.js | ||