Package com.anthropic.models
Class ToolChoiceAuto
-
- All Implemented Interfaces:
public final class ToolChoiceAutoThe model will automatically decide whether to use tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolChoiceAuto.BuilderA builder for ToolChoiceAuto.
public final classToolChoiceAuto.Type
-
Method Summary
Modifier and Type Method Description final ToolChoiceAuto.Typetype()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<ToolChoiceAuto.Type>_type()final JsonField<Boolean>_disableParallelToolUse()Whether to disable parallel tool use. final Map<String, JsonValue>_additionalProperties()final ToolChoiceAutovalidate()final ToolChoiceAuto.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceAuto.Builderbuilder()-
-
Method Detail
-
type
final ToolChoiceAuto.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<ToolChoiceAuto.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 ToolChoiceAuto validate()
-
toBuilder
final ToolChoiceAuto.Builder toBuilder()
-
builder
final static ToolChoiceAuto.Builder builder()
-
-
-
-