Save Memory
memory-ingestSave facts, preferences, decisions, corrections, or context to long-term memory with automatic type/tag classification and duplicate checks before saving.
Instructions
Save a fact, preference, decision, correction, or context to long-term memory. Auto-classifies type/tags if omitted. Auto-checks for duplicates before saving unless skipDedupe=true.
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": "memory-ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags. | |
| tier | No | Memory tier. "scratch" = session-only, never promoted by consolidation, auto-purged after 24h. Use for exploratory notes you may want to discard. Default short-term. | |
| type | No | Memory type. | |
| topic | No | Topic within the domain. | |
| domain | No | Domain/project namespace. | |
| origin | No | Provenance. Default "user" — explicit ingest is treated as user-asserted and protected from auto-merge / archive. Set "derived" when the caller is a downstream pipeline writing inferences. | |
| source | No | Source identifier (e.g. stable sourceId from an upstream system). Stored on the chunk and returned on search. | |
| content | Yes | The memory to store. | |
| createdAt | No | ISO 8601 timestamp override. Default: ingest time (now). Use this when ingesting memories that ORIGINALLY happened at a different time — meeting notes from yesterday, chat history from last week, dated documents from years ago. The timestamp flows into the contextual prefix embedded with the content, giving the retrieval pipeline a temporal signal it would otherwise lose. Critical for benchmarks (LoCoMo) and real workloads that backfill historical context (Cortex ingest of dated docs, importing chat history from Slack/Discord). | |
| sentiment | No | Emotional sentiment from Persona. | |
| importance | No | Importance 0.0-1.0 (default: 0.5). | |
| skipDedupe | No | If true, bypass the 0.75-similarity duplicate check. Use when the caller is writing structured refinements of prior memories (e.g. action items derived from a meeting note) and dedupe would swallow the write. | |
| emotionalArousal | No | Emotional arousal from Persona. High arousal = stronger encoding. | |
| emotionalValence | No | Emotional valence from Persona. Boosts importance for charged memories. |