save_memory
Store facts, decisions, preferences, and session context in local long-term memory so agents can retrieve them through semantic search across future sessions.
Instructions
Save information to long-term memory. The content will be embedded locally and indexed for semantic search. Use this to store facts, decisions, preferences, or any context worth remembering across sessions. Text inside … is removed before storing; content that looks like a secret (tokens, keys, passwords) is rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "save_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for categorization (e.g. ["personal", "preference"]) | |
| content | Yes | The text content to store in memory | |
| metadata | No | Optional key-value metadata to attach to this memory (e.g. { "topic": "auth", "project": "api" }) | |
| importance | No | Importance level 1-10 (default: 5). Higher = more resistant to decay | |
| memory_type | No | Memory category (default: general). Affects decay rate | general |