save_memory
Store durable knowledge in long-term memory for AI agents, including decisions, preferences, setup, and procedures, so context persists and outdated facts can be replaced.
Instructions
Store durable knowledge in the user's long-term memory (IHMT).
Save decisions and why, setup, preferences, people and projects, procedures. Not transient chat, not secrets. Write it to make sense months later, and start with the date ("2026-02-03: ...") when it belongs to one. Reports how it was filed and any contradiction with an earlier memory — relay that notice.
Args:
content: The text to remember, self-contained.
domain: Leave "general" to let IHMT classify it, or e.g. "software.java".
content_type: "auto" (recommended), "code", "narrative", "clinical", "personal",
"process" or "generic".
replaces: When this corrects or updates something saved earlier, a few distinctive
words describing that earlier memory ("RainDesktop version 1.3"). It is then
flagged OUTDATED and searches answer with this one first. If several memories
fit, nothing is flagged and the candidates are listed for mark_outdated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | general | |
| content | Yes | ||
| replaces | No | ||
| content_type | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |