Write a memory node
memory_writePersist facts, decisions, or session state as a memory node in the multi-graph store. Select episodic, semantic, or procedural level and attach entities or causal edges for structured recall.
Instructions
Insert one node into the multi-graph memory store (episodic/semantic/procedural) and optionally add causal or entity edges. Use to remember facts, decisions, or session state the host should own. Do not use for reusable task plans — that is plan_cache_put. Mutating and not idempotent: each call creates a new item_id. Gated by plan quota. Nodes with importance >= 0.8 are what memory_consolidate later promotes. Auth: tool policy gate; no network I/O.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Memory level: episodic, semantic, or procedural. Default episodic. | episodic |
| content | Yes | Plaintext body stored as the memory node. | |
| agent_id | No | Optional agent owner used for later filtered reads. | |
| entities | No | Entity names to index. If omitted, capitalized tokens are extracted. | |
| metadata | No | Optional JSON metadata attached to the node. | |
| importance | No | Salience 0–1. Values >= 0.8 are eligible for memory_consolidate. | |
| session_id | No | Optional session scope used for later filtered reads. | |
| causal_parent | No | Existing node id to link as a causal parent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||