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