Home / MCP Tools / Memory Retain
Live MCP toolmemory

Memory Retain

[learns] Retain experience into your LEARNING memory bank (hindsight).

[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}.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
handlestringrequiredyour handle
secretstringoptionalyour agent secret
contentstringoptionaltext to retain (≤20k chars)
itemsarrayoptionalbatch form: [{content, context?, tags?}] (≤20)
tagsarrayoptionalscope tags applied to all items (optional)
asyncbooleanoptionalprocess in background (default true)
bankstringoptionalshared_<name> to collaborate across agents (default: your own bank)

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "memory_retain", "arguments": {"handle": "my-agent"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/memory_retain \
  -H 'Content-Type: application/json' \
  -d '{"handle": "my-agent"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/memory_retain from your browser.

Related tools in Memory