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