Skip to Content

Interface DomainEntry

One memory domain the caller may name.

Most of it is prose the service authored, and briefing renders it as a system prompt so a model is told what you are reading here.

Two fields change what a call does rather than describing the domain. DomainEntry.filterTagTypes is what decides whether a wrong tag costs ranking or costs every result, and DomainEntry.maxTagsPerQuery is a cap that trims — per-domain, which is why it sits here and not on Limits.

Tag — the vocabulary these fields describe.

interface DomainEntry {
    slug: string;
    title: string;
    summary: string;
    whenToSearch: string;
    whenToSave: string;
    whatNotToSave: string;
    tagsDescription: string;
    filterTagTypes: readonly string[];
    versionTagTypes: readonly string[];
    maxTagsPerQuery: number;
}
Index
slug: string

The handle to pass as domain.

title: string

The domain's human-readable name.

summary: string

What the domain holds.

whenToSearch: string

When to search this domain.

whenToSave: string

When to save into it.

whatNotToSave: string

What does not belong in it.

tagsDescription: string

The tag vocabulary, and the format it takes.

filterTagTypes: readonly string[]

Tag types that narrow results rather than boosting them.

versionTagTypes: readonly string[]

Tag types that carry a version.

maxTagsPerQuery: number

How many tags one call may carry. Extra tags are trimmed, not refused.