store
Store a memory with optional context metadata.
Instructions
Store a memory with optional context metadata.
Args:
content: The information to remember.
project: Cortical region — project name for scoped retrieval.
language: Programming language context.
scope: Engram cluster — domain scope (e.g. "auth", "database").
memory_type: Memory system (episodic/semantic/procedural/prospective).
tags: Comma-separated tags for categorization.
source: Which tool stored this ("copilot", "cursor", etc.).
overwrite: If True and content is a near-duplicate of an existing
memory, replace the old memory instead of rejecting. The
response will include "replaced": <old_parent_id> and
"status": "updated".
agent_id: Namespace identifier for the storing agent or bot.
Memories tagged with an agent_id are only returned when the
same agent_id is supplied at recall time.
relations: JSON-encoded list of [subject, predicate, object] triples
to assert as relationship edges immediately, e.g.
'[["AuthService","depends_on","JWTHelper"]]'.
Malformed input is silently ignored so it never blocks the store.
Returns: JSON with memory ID on success, or rejection reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| scope | No | ||
| source | No | ||
| content | Yes | ||
| project | No | ||
| agent_id | No | ||
| language | No | ||
| overwrite | No | ||
| relations | No | ||
| memory_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |