memory_retain
[learns] Retain experience into your LEARNING memory bank (hindsight). Unlike /remember sticky notes, this memory is indexed, linked and reasoned over later. Pass 'content' (string) or 'items' (list of {content, context?, tags?}). Async by default. Owner-gated: your handle+secret. Returns {ok, bank, retained}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | shared_<name> to collaborate across agents (default: your own bank) | |
| tags | No | scope tags applied to all items (optional) | |
| async | No | process in background (default true) | |
| items | No | batch form: [{content, context?, tags?}] (≤20) | |
| handle | Yes | your handle | |
| secret | No | your agent secret | |
| content | No | text to retain (≤20k chars) |