save_memory
Store text or raw content as a memory in the Memory Box MCP Server, organizing it into specific buckets with structured metadata for easy retrieval and semantic understanding.
Instructions
Save a memory to Memory Box
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket_id | No | The bucket to save the memory to (default: "General") | |
raw_content | No | Raw content for processing (alternative to text) | |
reference_data | No | Structured metadata for memory storage | |
source_type | No | Type of memory source (default: 'llm_plugin') | |
text | Yes | The memory content to save (either text OR raw_content required) |
Input Schema (JSON Schema)
{
"properties": {
"bucket_id": {
"description": "The bucket to save the memory to (default: \"General\")",
"type": "string"
},
"raw_content": {
"description": "Raw content for processing (alternative to text)",
"type": "string"
},
"reference_data": {
"description": "Structured metadata for memory storage",
"properties": {
"content_context": {
"properties": {
"additional_context": {
"description": "Extra context",
"type": "object"
},
"selected_text": {
"description": "Selected text",
"type": "string"
},
"surrounding_text": {
"description": "Context around selection",
"type": "string"
},
"title": {
"description": "Content title",
"type": "string"
},
"url": {
"description": "Content URL",
"type": "string"
}
},
"type": "object"
},
"context": {
"properties": {
"conversation_id": {
"description": "Conversation identifier",
"type": "string"
},
"message_id": {
"description": "Message identifier",
"type": "string"
},
"related_memories": {
"description": "Related memory references",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"source": {
"properties": {
"additional_metadata": {
"description": "Extra metadata",
"type": "object"
},
"platform": {
"description": "Platform identifier (required)",
"type": "string"
},
"title": {
"description": "Source title",
"type": "string"
},
"type": {
"description": "Source type",
"type": "string"
},
"url": {
"description": "Source URL",
"type": "string"
},
"version": {
"description": "Version info",
"type": "string"
}
},
"required": [
"platform"
],
"type": "object"
}
},
"type": "object"
},
"source_type": {
"description": "Type of memory source (default: 'llm_plugin')",
"type": "string"
},
"text": {
"description": "The memory content to save (either text OR raw_content required)",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}