add_memory
Store content in an agent's memory system for future retrieval, using categories, importance levels, and tags to organize information.
Instructions
Add information to the agent memory system
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ID of the agent storing the memory | |
| category | No | Category for the memory entry (default: general) | general |
| content | Yes | Content to store in memory | |
| importance | No | Importance level 1-10 (default: 1) | |
| sessionId | Yes | ID of the current session | |
| tags | No | Tags for the memory entry |
Input Schema (JSON Schema)
{
"properties": {
"agentId": {
"description": "ID of the agent storing the memory",
"type": "string"
},
"category": {
"default": "general",
"description": "Category for the memory entry (default: general)",
"type": "string"
},
"content": {
"description": "Content to store in memory",
"type": "string"
},
"importance": {
"default": 1,
"description": "Importance level 1-10 (default: 1)",
"type": "number"
},
"sessionId": {
"description": "ID of the current session",
"type": "string"
},
"tags": {
"default": [],
"description": "Tags for the memory entry",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"content",
"agentId",
"sessionId"
],
"type": "object"
}