save_memory
Save a memory to short-term storage, applying decay over time and promoting frequently used memories to long-term retention.
Instructions
Save a new memory to short-term storage.
The memory will have temporal decay applied and will be forgotten if not used regularly. Frequently accessed memories may be promoted to long-term storage automatically.
Args: content: The content to remember (max 50,000 chars). tags: Tags for categorization (max 50 tags, each max 100 chars). entities: Named entities in this memory (max 100 entities). source: Source of the memory (max 500 chars). context: Context when memory was created (max 1,000 chars). meta: Additional custom metadata.
Raises: ValueError: If any input fails validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| tags | No | ||
| source | No | ||
| content | Yes | ||
| context | No | ||
| entities | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||