Class MemoryStoreCreateParams.Body
-
- All Implemented Interfaces:
public final class MemoryStoreCreateParams.BodyRequest parameters for creating a
memory_store.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemoryStoreCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Human-readable name for the store. final Optional<String>description()Free-text description of what the store contains, up to 1024 characters. final Optional<MemoryStoreCreateParams.Metadata>metadata()Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<MemoryStoreCreateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final MemoryStoreCreateParams.Body.BuildertoBuilder()final MemoryStoreCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MemoryStoreCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
name
final String name()
Human-readable name for the store. Required; 1–255 characters; no control characters. The mount-path slug under
/mnt/memory/is derived from this name (lowercased, non-alphanumeric runs collapsed to a hyphen). Names need not be unique within a workspace.
-
description
final Optional<String> description()
Free-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent.
-
metadata
final Optional<MemoryStoreCreateParams.Metadata> metadata()
Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Not visible to the agent.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<MemoryStoreCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MemoryStoreCreateParams.Body.Builder toBuilder()
-
validate
final MemoryStoreCreateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static MemoryStoreCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-