Save a durable project memory
memorysync_addSave a single fact, like a project convention or architectural decision, so it persists beyond this conversation and is available to future sessions.
Instructions
Persist one fact so it survives after this conversation ends: an architectural decision, a convention the user asked you to follow, or a constraint that will still be true next session. Call this when the user states a lasting preference or you settle a design question. Do not call it for transient chat, for content already returned by memorysync_search, or for anything a later session would be misled by. Save one discrete fact per call rather than a conversation summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | One self-contained fact, written so it still makes sense with no surrounding conversation. Write 'This project uses Postgres with SQLAlchemy 2.x', not 'we decided to use that one'. Pronouns and references to the current chat will not resolve in a later session. | |
| source | No | Which client or agent observed this fact, used for attribution when two memories conflict. Defaults to 'cursor' if omitted. | cursor |
| metadata | No | Optional flat key-value tags used to narrow later searches, for example {"area": "database"}. Values should be short strings. Omit rather than passing an empty object. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifier of the stored memory. | |
| status | Yes | Result of the write, for example 'created'. |