kg_analyze
Perform knowledge graph analysis: group topics, detect emerging trends, export the graph, and discover connections between nodes.
Instructions
Unified analysis tool. Supports: 'clusters' for topic grouping, 'emerging' for trend detection, 'graph_export' for full export, 'path' for finding connections between nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endId | No | [path] Target node ID. | |
| limit | No | [clusters, emerging] Maximum nodes to analyze. | |
| startId | No | [path] Starting node ID. | |
| maxDepth | No | [path] Maximum hops to search. | |
| operation | Yes | Analysis operation: 'clusters', 'emerging', 'graph_export', 'path'. | |
| threshold | No | [clusters] Similarity threshold (higher = stricter grouping). | |
| windowDays | No | [emerging] Days to look back for recent activity. |