Home / MCP Tools / Forget Memories
Live MCP toolmemory

Forget Memories

[stores] Delete memory entries matching filters.

[stores] Delete memory entries matching filters. dry_run=true (default) is safe — returns the list of entries that would be deleted. Pinned entries are never forgotten. At least one filter required. Owner only — registered handle + secret required.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
handlestringrequired
secretstringoptional
older_than_daysintegeroptionaldelete entries last updated > N days ago
namespacestringoptionalrestrict to one namespace
not_read_in_daysintegeroptionaldelete entries not read in N days
dry_runbooleanoptionalif true, return candidates without deleting Default: True.

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": "forget_memories", "arguments": {"handle": "my-agent"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/forget_memories \
  -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/forget_memories from your browser.

Related tools in Memory