Class MemoryStoreCreateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class MemoryStoreCreateParams implements Params
Create a memory store
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemoryStoreCreateParams.BuilderA builder for MemoryStoreCreateParams.
public final classMemoryStoreCreateParams.BodyRequest parameters for creating a
memory_store.public final classMemoryStoreCreateParams.MetadataArbitrary 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.
-
Method Summary
Modifier and Type Method Description final Optional<List<AnthropicBeta>>betas()Optional header to specify the beta version(s) you want to use. 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>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final MemoryStoreCreateParams.BuildertoBuilder()final MemoryStoreCreateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static MemoryStoreCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of MemoryStoreCreateParams. -
-
Method Detail
-
betas
final Optional<List<AnthropicBeta>> betas()
Optional header to specify the beta version(s) you want to use.
-
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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final MemoryStoreCreateParams.Builder toBuilder()
-
_body
final MemoryStoreCreateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static MemoryStoreCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of MemoryStoreCreateParams.
The following fields are required:
.name()
-
-
-
-