Package com.anthropic.models
Class BetaToolChoiceAny.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceAny.BuilderA builder for BetaToolChoiceAny.
-
-
Method Summary
Modifier and Type Method Description final BetaToolChoiceAny.Buildertype(BetaToolChoiceAny.Type type)final BetaToolChoiceAny.Buildertype(JsonField<BetaToolChoiceAny.Type> type)final BetaToolChoiceAny.BuilderdisableParallelToolUse(Boolean disableParallelToolUse)Whether to disable parallel tool use. final BetaToolChoiceAny.BuilderdisableParallelToolUse(JsonField<Boolean> disableParallelToolUse)Whether to disable parallel tool use. final BetaToolChoiceAny.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceAny.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolChoiceAny.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceAny.BuilderremoveAdditionalProperty(String key)final BetaToolChoiceAny.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolChoiceAnybuild()-
-
Method Detail
-
type
final BetaToolChoiceAny.Builder type(BetaToolChoiceAny.Type type)
-
type
final BetaToolChoiceAny.Builder type(JsonField<BetaToolChoiceAny.Type> type)
-
disableParallelToolUse
final BetaToolChoiceAny.Builder disableParallelToolUse(Boolean disableParallelToolUse)
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output exactly one tool use.
-
disableParallelToolUse
final BetaToolChoiceAny.Builder disableParallelToolUse(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 BetaToolChoiceAny.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChoiceAny.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChoiceAny.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChoiceAny.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChoiceAny.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChoiceAny build()
-
-
-
-