Named Response Tool Choice
Forces the model to call one specific tool.
val params = responseParams {
tools = listOf(FunctionTool("get_weather"))
toolChoice = NamedResponseToolChoice.function("get_weather")
}Content copied to clipboard