functionCall

@SerialName(value = "function_call")
val functionCall: FunctionMode? = null

Deprecated

Deprecated in favor of ToolChoice

Controls how the model responds to function calls. FunctionMode.None means the model does not call a function, and responds to the end-user. FunctionMode.Auto means the model can pick between an end-user or calling a function. Specifying a particular function via FunctionMode.Named forces the model to call that function. FunctionMode.None is the default when no functions are present. FunctionMode.Auto is the default if functions are present.