Package com.anthropic.models
Class ToolChoiceTool.Builder
-
- All Implemented Interfaces:
public final class ToolChoiceTool.BuilderA builder for ToolChoiceTool.
-
-
Method Summary
-
-
Method Detail
-
name
final ToolChoiceTool.Builder name(String name)
The name of the tool to use.
-
name
final ToolChoiceTool.Builder name(JsonField<String> name)
The name of the tool to use.
-
type
final ToolChoiceTool.Builder type(ToolChoiceTool.Type type)
-
type
final ToolChoiceTool.Builder type(JsonField<ToolChoiceTool.Type> type)
-
disableParallelToolUse
final ToolChoiceTool.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 ToolChoiceTool.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 ToolChoiceTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolChoiceTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolChoiceTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolChoiceTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolChoiceTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolChoiceTool build()
-
-
-
-