Class ToolBash20250124.Builder
-
- All Implemented Interfaces:
public final class ToolBash20250124.BuilderA builder for ToolBash20250124.
-
-
Method Summary
-
-
Method Detail
-
name
final ToolBash20250124.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("bash")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ToolBash20250124.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("bash_20250124")This method is primarily for setting the field to an undocumented or not yet supported value.
-
allowedCallers
final ToolBash20250124.Builder allowedCallers(List<ToolBash20250124.AllowedCaller> allowedCallers)
-
allowedCallers
final ToolBash20250124.Builder allowedCallers(JsonField<List<ToolBash20250124.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 ToolBash20250124.Builder addAllowedCaller(ToolBash20250124.AllowedCaller allowedCaller)
Adds a single AllowedCaller to allowedCallers.
-
cacheControl
final ToolBash20250124.Builder cacheControl(CacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final ToolBash20250124.Builder cacheControl(Optional<CacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final ToolBash20250124.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 ToolBash20250124.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 ToolBash20250124.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.
-
inputExamples
final ToolBash20250124.Builder inputExamples(List<ToolBash20250124.InputExample> inputExamples)
-
inputExamples
final ToolBash20250124.Builder inputExamples(JsonField<List<ToolBash20250124.InputExample>> inputExamples)
Sets Builder.inputExamples to an arbitrary JSON value.
You should usually call Builder.inputExamples with a well-typed
List<InputExample>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addInputExample
final ToolBash20250124.Builder addInputExample(ToolBash20250124.InputExample inputExample)
Adds a single InputExample to inputExamples.
-
strict
final ToolBash20250124.Builder strict(Boolean strict)
When true, guarantees schema validation on tool names and inputs
-
strict
final ToolBash20250124.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 ToolBash20250124.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolBash20250124.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolBash20250124.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolBash20250124.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolBash20250124.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolBash20250124 build()
Returns an immutable instance of ToolBash20250124.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-