Package com.anthropic.models
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.
public final classBetaToolChoiceAuto.Type
-
Method Summary
Modifier and Type Method Description final BetaToolChoiceAuto.Typetype()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<BetaToolChoiceAuto.Type>_type()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()-
-
Method Detail
-
type
final BetaToolChoiceAuto.Type type()
-
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.
-
_type
final JsonField<BetaToolChoiceAuto.Type> _type()
-
_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()
-
-
-
-