Configuration for specifying function calling behavior.
AI AgentsArtificial IntelligenceCode GenerationEmbeddingsGenerative AIImage GenerationLLMMachine LearningMulti-ModalReal-Time
Properties
Name
Type
Description
mode
string
Specifies the mode in which function calling should execute.
allowedFunctionNames
array
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.
{
"$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"
}
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.