toolChoice

@SerialName(value = "tool_choice")
val toolChoice: ToolChoice? = null

Controls which (if any) function is called by the model.

ToolChoice.None is the default when no functions are present.ToolChoice.Auto is the default if functions are present.