Mem0
Agent memory management
Configuration
Add Memories
Operation
Add Memories
User ID*
Enter user identifier
API Key*
••••••••
Messages*
json
JSON array, e.g. [{"role": "user", "content": "I love TradingGoose!"}]
Add Memories (
mem0_add_memories)Add memories to Mem0 for persistent storage and retrieval
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | User ID associated with the memory |
messages | json | Yes | Array of message objects with role and content |
apiKey | string | Yes | Your Mem0 API key |
Output
| Parameter | Type | Description |
|---|---|---|
ids | array | Array of memory IDs that were created |
memories | array | Array of memory objects that were created |
Search Memories
Operation
Search Memories
User ID*
Enter user identifier
API Key*
••••••••
Search Query*
Enter search query to find relevant memories
Result Limit
1
Search Memories (
mem0_search_memories)Search for memories in Mem0 using semantic search
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | User ID to search memories for |
query | string | Yes | Search query to find relevant memories |
limit | number | No | Maximum number of results to return |
apiKey | string | Yes | Your Mem0 API key |
Output
| Parameter | Type | Description |
|---|---|---|
searchResults | array | Array of search results with memory data, each containing id, data, and score |
ids | array | Array of memory IDs found in the search results |
Get Memories
Operation
Get Memories
User ID*
Enter user identifier
API Key*
••••••••
Memory ID
Specific memory ID to retrieve
Start Date
YYYY-MM-DD
End Date
YYYY-MM-DD
Result Limit
1
Get Memories (
mem0_get_memories)Retrieve memories from Mem0 by ID or filter criteria
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | User ID to retrieve memories for |
memoryId | string | No | Specific memory ID to retrieve |
startDate | string | No | Start date for filtering by created_at (format: YYYY-MM-DD) |
endDate | string | No | End date for filtering by created_at (format: YYYY-MM-DD) |
apiKey | string | Yes | Your Mem0 API key |
Output
| Parameter | Type | Description |
|---|---|---|
memories | array | Array of retrieved memory objects |
ids | array | Array of memory IDs that were retrieved |
Usage Instructions
Integrate Mem0 into the workflow. Can add, search, and retrieve memories.
Notes
- Category:
tools - Type:
mem0