Graph Prune
graph_pruneRemove low-confidence entities and edges that have decayed below specified thresholds. Preview before executing destructive cleanup, with options to prune orphaned nodes by age.
Instructions
Remove entities and edges that have decayed below threshold. DESTRUCTIVE — always preview first. Requires user confirmation before execute mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | preview (default) or execute | preview |
| node_threshold | No | Prune nodes below this confidence (default: 0.1) | |
| edge_threshold | No | Prune edges below this weight (default: 0.05) | |
| include_orphans | No | Also prune orphaned nodes (default: true) | |
| max_age_days | No | Max age for orphan pruning (default: 30) |