Package com.anthropic.models.messages
Class ToolSearchToolSearchResultBlock.Builder
-
- All Implemented Interfaces:
public final class ToolSearchToolSearchResultBlock.BuilderA builder for ToolSearchToolSearchResultBlock.
-
-
Method Summary
-
-
Method Detail
-
toolReferences
final ToolSearchToolSearchResultBlock.Builder toolReferences(List<ToolReferenceBlock> toolReferences)
-
toolReferences
final ToolSearchToolSearchResultBlock.Builder toolReferences(JsonField<List<ToolReferenceBlock>> toolReferences)
Sets Builder.toolReferences to an arbitrary JSON value.
You should usually call Builder.toolReferences with a well-typed
List<ToolReferenceBlock>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addToolReference
final ToolSearchToolSearchResultBlock.Builder addToolReference(ToolReferenceBlock toolReference)
Adds a single ToolReferenceBlock to toolReferences.
-
type
final ToolSearchToolSearchResultBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("tool_search_tool_search_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ToolSearchToolSearchResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolSearchToolSearchResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolSearchToolSearchResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolSearchToolSearchResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolSearchToolSearchResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolSearchToolSearchResultBlock build()
Returns an immutable instance of ToolSearchToolSearchResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.toolReferences()
-
-
-
-