save_fact
Persist atomic facts, preferences, or technical rules into long-term memory with semantic deduplication and vector indexing. Returns a UUID and status for immediate logging.
Instructions
Persists an atomic fact, preference, or technical rule into long-term memory with automatic semantic deduplication and vector indexing (append-only write). Use for immediate logging; for search use 'search_memory', for evolution audits use 'get_fact_lineage', and for batch synthesis use 'consolidate'. Returns the assigned fact UUID and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact | Yes | The concise fact, technical decision, architecture rule, or user preference to store (e.g. 'PostgreSQL runs on port 5432 with peer authentication'). Must be self-contained and clear without pronouns. | |
| source | No | Project or subsystem tag (e.g. 'HOMELAB', 'AUDIOBOOK', 'TOTALCONNECT'). Alphanumeric and underscores only. Used to partition and filter project memories. | |
| userId | No | User or agent namespace to scope the memory. Defaults to 'user_default' when omitted. |