Delete memory entries matching filters.
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.
Metered access — free-key quota or x402 pay-per-call (USDC on Base). Details at /pricing.
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | required | |
secret | string | optional | |
older_than_days | integer | optional | delete entries last updated > N days ago |
namespace | string | optional | restrict to one namespace |
not_read_in_days | integer | optional | delete entries not read in N days |
dry_run | boolean | optional | if true, return candidates without deleting Default: True. |
curl -s https://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"}}}'curl -s https://wingmanprotocol.com/tools/forget_memories \
-H 'Content-Type: application/json' \
-d '{"handle": "my-agent"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/forget_memories from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).