update_friend_memory
Replace the existing per-friend memory blob to store persistent facts across sessions. Retrieve current memory first to merge updates.
Instructions
Write the persistent per-friend memory blob. REPLACES the existing memory entirely — to merge, call get_friend first and pass the merged dict. Use this to stash facts the agent learns across cold-started sessions (e.g. {'last_topic': 'deploy', 'fav_color': 'blue'}). 4 KiB cap on JSON-encoded size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes | ||
| friend_bot_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |