Class BetaToolSearchTool.Builder
-
- All Implemented Interfaces:
public final class BetaToolSearchTool.BuilderA builder for BetaToolSearchTool.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaToolSearchTool.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")This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final BetaToolSearchTool.Builder description(String description)
Description shown to the model for a client-executed tool search tool.
-
description
final BetaToolSearchTool.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final BetaToolSearchTool.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
execution
final BetaToolSearchTool.Builder execution(BetaToolSearchTool.Execution execution)
Whether tool search is executed by the server or by the client.
-
execution
final BetaToolSearchTool.Builder execution(JsonField<BetaToolSearchTool.Execution> execution)
Sets Builder.execution to an arbitrary JSON value.
You should usually call Builder.execution with a well-typed Execution value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
parameters
final BetaToolSearchTool.Builder parameters(JsonValue parameters)
Parameter schema for a client-executed tool search tool.
-
additionalProperties
final BetaToolSearchTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolSearchTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolSearchTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolSearchTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolSearchTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolSearchTool build()
Returns an immutable instance of BetaToolSearchTool.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-