Skip to content

MemoryRecallSystemMessage

Base classes

Name Children Inherits
BaseSystemMessage
clawd_code_sdk.models.system_messages
Base class for all system messages.

⋔ Inheritance diagram

graph TD
  515051260["system_messages.MemoryRecallSystemMessage"]
  3228074852["system_messages.BaseSystemMessage"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3228074852 --> 515051260
  3879467795 --> 3228074852
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseSystemMessage

Emitted when the memory recall supervisor surfaces relevant memories into the turn.

Mirrors the CLI relevant_memories attachment so SDK renderers can show "Recalled from memory" inline.

Source code in src/clawd_code_sdk/models/system_messages.py
class MemoryRecallSystemMessage(BaseSystemMessage):
    """Emitted when the memory recall supervisor surfaces relevant memories into the turn.

    Mirrors the CLI relevant_memories attachment so SDK renderers can show
    "Recalled from memory" inline.
    """

    subtype: Literal["memory_recall"] = "memory_recall"
    mode: Literal["select", "synthesize"]
    """Mode of memory recall."""
    memories: list[Memory]
    """List of memory objects."""

memories instance-attribute

memories: list[Memory]

List of memory objects.

mode instance-attribute

mode: Literal['select', 'synthesize']

Mode of memory recall.

:fa-brands-github: Show source on GitHub