memory_forget

Delete a specific XMemo memory by its path/id. The path is returned by memory_search and encodes the XMemo memory id.

Server Openclaw Memory @xmemo/openclaw-memory
Category Destructive
Risk class Critical
Parameters 00 required

What memory_forget does on Openclaw Memory

AI agents call memory_forget to permanently remove resources in Openclaw Memory — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why memory_forget needs a policy

This tool permanently removes data from a long-term memory system. Even though the scope is limited to individual memory records (not the entire database), the operation is irreversible and could cause loss of important agent state, decisions, or audit trails.

From the tool's definition 'Delete a specific XMemo memory by its path/id' — the verb 'Delete' and the action of removing memory records by path/id indicate irreversible data destruction.

Questions about memory_forget

What does the memory_forget tool do? +

Delete a specific XMemo memory by its path/id. The path is returned by memory_search and encodes the XMemo memory id. It is categorised as a Destructive tool in the Openclaw Memory MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on memory_forget? +

Register the Openclaw Memory MCP server in PolicyLayer and add a rule for memory_forget: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Openclaw Memory. Nothing to install.

What risk level is memory_forget? +

memory_forget is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit memory_forget? +

Yes. Add a rate_limit block to the memory_forget rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block memory_forget completely? +

Set action: deny in the PolicyLayer policy for memory_forget. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides memory_forget? +

memory_forget is provided by the Openclaw Memory MCP server (@xmemo/openclaw-memory). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

memory_forget is one line of Openclaw Memory's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.