Class ToolSearchToolRegex20251119.Builder
-
- All Implemented Interfaces:
public final class ToolSearchToolRegex20251119.BuilderA builder for ToolSearchToolRegex20251119.
-
-
Method Summary
-
-
Method Detail
-
name
final ToolSearchToolRegex20251119.Builder name(JsonValue name)
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_regex")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ToolSearchToolRegex20251119.Builder type(ToolSearchToolRegex20251119.Type type)
-
type
final ToolSearchToolRegex20251119.Builder type(JsonField<ToolSearchToolRegex20251119.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
allowedCallers
final ToolSearchToolRegex20251119.Builder allowedCallers(List<ToolSearchToolRegex20251119.AllowedCaller> allowedCallers)
-
allowedCallers
final ToolSearchToolRegex20251119.Builder allowedCallers(JsonField<List<ToolSearchToolRegex20251119.AllowedCaller>> allowedCallers)
Sets Builder.allowedCallers to an arbitrary JSON value.
You should usually call Builder.allowedCallers with a well-typed
List<AllowedCaller>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAllowedCaller
final ToolSearchToolRegex20251119.Builder addAllowedCaller(ToolSearchToolRegex20251119.AllowedCaller allowedCaller)
Adds a single AllowedCaller to allowedCallers.
-
cacheControl
final ToolSearchToolRegex20251119.Builder cacheControl(CacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final ToolSearchToolRegex20251119.Builder cacheControl(Optional<CacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final ToolSearchToolRegex20251119.Builder cacheControl(JsonField<CacheControlEphemeral> cacheControl)
Sets Builder.cacheControl to an arbitrary JSON value.
You should usually call Builder.cacheControl with a well-typed CacheControlEphemeral value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deferLoading
final ToolSearchToolRegex20251119.Builder deferLoading(Boolean deferLoading)
If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
-
deferLoading
final ToolSearchToolRegex20251119.Builder deferLoading(JsonField<Boolean> deferLoading)
Sets Builder.deferLoading to an arbitrary JSON value.
You should usually call Builder.deferLoading with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
strict
final ToolSearchToolRegex20251119.Builder strict(Boolean strict)
When true, guarantees schema validation on tool names and inputs
-
strict
final ToolSearchToolRegex20251119.Builder strict(JsonField<Boolean> strict)
Sets Builder.strict to an arbitrary JSON value.
You should usually call Builder.strict with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ToolSearchToolRegex20251119.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolSearchToolRegex20251119.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolSearchToolRegex20251119.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolSearchToolRegex20251119.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolSearchToolRegex20251119.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolSearchToolRegex20251119 build()
Returns an immutable instance of ToolSearchToolRegex20251119.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-