clear_graph
Delete all entities and relations from a knowledge graph. Requires reason and confirmation token for graphs with over 10 entities, with event-sourced rollback support.
Instructions
Clear ALL entities and relations from the graph. Use sparingly! For graphs with >10 entities: requires reason AND confirm_token. Event-sourced: can rewind to before clear with get_state_at(timestamp).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for clearing (required for graphs >10 entities) | |
| confirm_token | No | Confirmation token for large graphs (format: CLEAR_<count>) |