Skip to main content

Module memory_type

Module memory_type 

Source
Expand description

JSON Schema description strings for the memory_type parameter.

The canonical type set is owned by crate::sources::MemoryType and returned by [MemoryType::all_values]. This module exposes the prose description strings that downstream tool schemas (MCP capture, MCP recall, future MCP/Tauri schemas) advertise to clients.

The drift tests below iterate over the canonical enum and assert each description string lists every variant. Adding a variant to crate::sources::MemoryType but forgetting to extend the description prose fails CI here — not silently in production.

Constants§

MEMORY_TYPE_CAPTURE_DESCRIPTION
JSON Schema description for the memory_type parameter on memory-write tools (e.g. MCP capture). Lists the two-level filter values (profile / knowledge) and the precise types, plus the “auto-classified if omitted” hint that steers agents away from guessing.
MEMORY_TYPE_FILTER_DESCRIPTION
JSON Schema description for the memory_type parameter on memory-read filter tools (e.g. MCP recall, list_pending). Same vocabulary as capture, framed as a filter.