Class BetaToolChoiceAuto
-
- All Implemented Interfaces:
public final class BetaToolChoiceAutoThe model will automatically decide whether to use tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolChoiceAuto.BuilderA builder for BetaToolChoiceAuto.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<Boolean>_disableParallelToolUse()Whether to disable parallel tool use. final Map<String, JsonValue>_additionalProperties()final BetaToolChoiceAutovalidate()final BetaToolChoiceAuto.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolChoiceAuto.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolChoiceAuto. -
-
Method Detail
-
disableParallelToolUse
final Optional<Boolean> disableParallelToolUse()
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output at most one tool use.
-
_disableParallelToolUse
final JsonField<Boolean> _disableParallelToolUse()
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output at most one tool use.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BetaToolChoiceAuto validate()
-
toBuilder
final BetaToolChoiceAuto.Builder toBuilder()
-
builder
final static BetaToolChoiceAuto.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolChoiceAuto.
-
-
-
-