Package com.anthropic.models
Class ToolChoiceAny
-
- All Implemented Interfaces:
public final class ToolChoiceAnyThe model will use any available tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolChoiceAny.BuilderA builder for ToolChoiceAny.
public final classToolChoiceAny.Type
-
Method Summary
Modifier and Type Method Description final ToolChoiceAny.Typetype()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<ToolChoiceAny.Type>_type()final JsonField<Boolean>_disableParallelToolUse()Whether to disable parallel tool use. final Map<String, JsonValue>_additionalProperties()final ToolChoiceAnyvalidate()final ToolChoiceAny.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceAny.Builderbuilder()-
-
Method Detail
-
type
final ToolChoiceAny.Type type()
-
disableParallelToolUse
final Optional<Boolean> disableParallelToolUse()
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output exactly one tool use.
-
_type
final JsonField<ToolChoiceAny.Type> _type()
-
_disableParallelToolUse
final JsonField<Boolean> _disableParallelToolUse()
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output exactly one tool use.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ToolChoiceAny validate()
-
toBuilder
final ToolChoiceAny.Builder toBuilder()
-
builder
final static ToolChoiceAny.Builder builder()
-
-
-
-