toolChoice property

  1. @JsonKey.new(name: 'tool_choice', includeIfNull: false)
SessionConfigToolChoice? get toolChoice
inherited

How the model chooses tools. Options are auto, none, required, or specify a function.

Implementation

@_SessionConfigToolChoiceConverter()
@JsonKey(name: 'tool_choice', includeIfNull: false)
SessionConfigToolChoice? get toolChoice;