upsert_memory_node
Create or update memory nodes in a semantic graph to represent concepts, files, symbols, or notes with auto-generated embeddings for linking and retrieval.
Instructions
Create or update a memory node in the linking graph. Nodes represent concepts, files, symbols, or notes with auto-generated embeddings. If a node with the same label and type exists, it updates content and increments access count. Returns the node ID for use in create_relation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Node type: concept (abstract ideas), file (source files), symbol (functions/classes), note (free-form). | |
| label | Yes | Short identifier for the node. Used for deduplication with type. | |
| content | Yes | Detailed content for the node. Used for embedding generation. | |
| metadata | No | Optional key-value metadata pairs. |