forget_memory
Remove a fact from the knowledge graph, including its provenance metadata, after checking for dependent facts and confirming the user requested deletion.
Instructions
Remove a fact from semantic memory, including its provenance metadata.
CRITICAL RULES: ❌ NEVER remove facts without explicit user instruction ❌ NEVER remove facts that are foundations for other inferences (check first with query_memory) ✓ Use when user explicitly says 'forget', 'remove', 'that's wrong', 'delete that' ✓ Always confirm with user before removing
What happens when you forget a fact:
The triple is removed from the graph
Its provenance reification nodes (source, timestamp, confidence) are also removed
Facts inferred FROM this fact are NOT automatically removed → Use query_memory to check if dependent facts exist before forgetting
Format: ':Subject predicate :Object'
Examples: forget_memory(':User foaf:knows :Alice') forget_memory(':Bob schema:worksFor :AcmeCorp')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | RDF triple to remove: ':Subject predicate :Object' |