GEMINI_SUPPORTED_SCHEMA_KEYWORDS
constGEMINI_SUPPORTED_SCHEMA_KEYWORDS:ReadonlySet<string>
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/geminiSchemaSanitizer.ts:44
The EXACT set of schema keywords Gemini’s function-declaration schema accepts, transcribed field-
for-field from the Gemini.Tools.Schema interface in
@langchain/google/dist/chat_models/api-types.d.ts. Anything not in this set is dropped (allowlist).
Note anyOf IS supported (unions / nullable) and MUST survive — only allOf/oneOf/not are
absent from the type and therefore dropped. exclusiveMinimum/exclusiveMaximum are NOT in the type
either; they are handled specially by rewriting them to minimum/maximum (see sanitizeNode)
before the allowlist filter runs.