{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/FunctionCallingConfig", "title": "FunctionCallingConfig", "type": "object", "description": "Configuration for specifying function calling behavior.", "properties": { "mode": { "type": "string", "description": "Specifies the mode in which function calling should execute.", "enum": [ "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE" ] }, "allowedFunctionNames": { "type": "array", "description": "A set of function names that, when provided, limits the functions the model will call. This should only be set when the Mode is ANY. Function names should match FunctionDeclaration.name.", "items": { "type": "string" } } } }