add_exclusion_rule
Add a content exclusion rule to prevent specific patterns from being stored in the knowledge graph, with optional scope and entity type filters.
Instructions
v2.1.0 — Add a content-pattern exclusion rule (do_not_remember). Hard-deletes existing matches (per scope) and write-blocks future ones when consulted by upstream callers. v1 substring-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | When the rule applies. Default: both. | |
| reason | No | Free-text justification (e.g. "GDPR request 2026-05-15"). | |
| pattern | Yes | Substring to match (case-insensitive). | |
| entityType | No | Optional restriction by entityType. |