Package com.anthropic.models
Class BetaToolChoiceTool.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceTool.BuilderA builder for BetaToolChoiceTool.
-
-
Method Summary
-
-
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(BetaToolChoiceTool.Type type)
-
type
final BetaToolChoiceTool.Builder type(JsonField<BetaToolChoiceTool.Type> 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()
-
-
-
-