save_memory
Store new information in short-term memory with temporal decay, where frequently accessed content gets promoted to long-term storage automatically.
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.
tags: Tags for categorization.
entities: Named entities in this memory.
source: Source of the memory.
context: Context when memory was created.
meta: Additional custom metadata.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
context | No | ||
entities | No | ||
meta | No | ||
source | No | ||
tags | No |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Context"
},
"entities": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Entities"
},
"meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
}
},
"required": [
"content"
],
"type": "object"
}