Class BetaToolChoiceTool.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceTool.BuilderA builder for BetaToolChoiceTool.
-
-
Method Summary
Modifier and Type Method Description final BetaToolChoiceTool.Buildername(String name)The name of the tool to use. final BetaToolChoiceTool.Buildername(JsonField<String> name)The name of the tool to use. final BetaToolChoiceTool.Buildertype(JsonValue type)final BetaToolChoiceTool.BuilderdisableParallelToolUse(Boolean disableParallelToolUse)Whether to disable parallel tool use. final BetaToolChoiceTool.BuilderdisableParallelToolUse(JsonField<Boolean> disableParallelToolUse)Whether to disable parallel tool use. final BetaToolChoiceTool.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceTool.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolChoiceTool.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceTool.BuilderremoveAdditionalProperty(String key)final BetaToolChoiceTool.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolChoiceToolbuild()-
-
Method Detail
-
name
final BetaToolChoiceTool.Builder name(String name)
The name of the tool to use.
-
name
final BetaToolChoiceTool.Builder name(JsonField<String> name)
The name of the tool to use.
-
type
final BetaToolChoiceTool.Builder type(JsonValue type)
-
disableParallelToolUse
final BetaToolChoiceTool.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 BetaToolChoiceTool.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 BetaToolChoiceTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChoiceTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChoiceTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChoiceTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChoiceTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChoiceTool build()
-
-
-
-