Write memory
memory_writePersist user preferences, facts, commitments, or events for future sessions. Automatically generate a summary, tags, and importance rating to enable reliable recall in later conversations.
Instructions
Persist something worth remembering about a user (a preference, fact, commitment, or event). Bedrock derives a short summary, tags, importance (salience), and kind. Call this whenever the user reveals durable information you should recall in future sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Stable id namespacing this user's memories. | |
| content | Yes | The information to remember, in plain language. | |
| salience | No | Optional importance override in [0,1]; otherwise Bedrock decides. | |
| sourceSession | No | Optional originating session/conversation id. |