Sim

Memory

Add memory store

Usage Instructions

Create persistent storage for data that needs to be accessed across multiple workflow steps. Store and retrieve information throughout your workflow execution to maintain context and state.

Tools

memory_add

Add a new memory to the database or append to existing memory with the same ID.

Input

ParameterTypeRequiredDescription
idstringYesIdentifier for the memory. If a memory with this ID already exists, the new data will be appended to it.
rolestringYesRole for agent memory (user, assistant, or system)
contentstringYesContent for agent memory

Output

ParameterType
memoriesstring

memory_get

Retrieve a specific memory by its ID

Input

ParameterTypeRequiredDescription
idstringYesIdentifier for the memory to retrieve

Output

ParameterType
memoriesstring
messagestring

memory_get_all

Retrieve all memories from the database

Input

ParameterTypeRequiredDescription

Output

ParameterType
messagestring
memoriesstring

memory_delete

Delete a specific memory by its ID

Input

ParameterTypeRequiredDescription
idstringYesIdentifier for the memory to delete

Output

ParameterType
messagestring

Block Configuration

Input

ParameterTypeRequiredDescription
operationstringYesOperation

Outputs

OutputTypeDescription
memoriesanymemories output from the block
idstringid output from the block

Notes

  • Category: blocks
  • Type: memory
Memory