knowledge_forget
Delete outdated, incorrect, or irrelevant knowledge entries by project, category, age, or full reset. Clean your knowledge base while preserving handoff state.
Instructions
Selectively forget (delete) accumulated knowledge entries. Like a brain pruning bad memories — remove outdated, incorrect, or irrelevant session entries to keep the knowledge base clean and relevant.
Forget modes:
By project: Clear all knowledge for a specific project
By category: Remove entries matching a category (e.g. 'debugging')
By age: Forget entries older than N days
Full reset: Wipe everything (requires confirm_all=true)
⚠️ This permanently deletes ledger entries. Handoff state is preserved unless explicitly cleared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, only count what would be deleted without actually deleting. Default: false. | |
| project | No | Project to forget entries for. Required unless using confirm_all. | |
| category | No | Optional: only forget entries in this category (e.g. 'debugging', 'resume'). | |
| confirm_all | No | Set to true to confirm wiping ALL entries for the project (safety flag). | |
| clear_handoff | No | Also clear the handoff (live state) for this project. Default: false. | |
| older_than_days | No | Optional: only forget entries older than this many days. |