save_memory
Save or update structured memories as markdown files with YAML frontmatter, categorized by type (user, feedback, project, reference, rule) and optional tags for search ranking.
Instructions
Save (or update) a memory. Memories are markdown files with YAML frontmatter, stored at the resolved memory dir. Use a short kebab-case name; the description is what's shown in the index and used for search ranking.
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": {
"name": "<name>",
"description": "<description>",
"type": "<type>",
"content": "<content>"
},
"name": "save_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short kebab-case slug, 1-80 chars (e.g. 'user-prefers-tabs') | |
| tags | No | Optional tags for cross-cutting categorization. Lowercase, kebab/underscore, max 40 chars each. Queryable in list_memories + search_memories. | |
| type | Yes | Memory type: user (about the person), feedback (lessons + corrections), project (state/context), reference (external pointers), rule (constraint enforced via companion files — prefer the save_rule tool which validates rule-specific fields) | |
| content | Yes | Markdown body. For feedback/project, include **Why:** and **How to apply:** lines. | |
| description | Yes | One-line summary, shown in the index and ranked highly in search |