detect_communities
Discover natural communities in the knowledge graph using label propagation on edge connections. Read-only — shows which memories cluster together based on graph structure.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project | string | No | Filter by project |
Return Value
Section titled “Return Value”Returns groups of memories that form natural communities based on their edge connections.
Examples
Section titled “Examples”Detect communities in a project
Section titled “Detect communities in a project”{ "project": "my-project"}- Uses graph edges, not semantic similarity (unlike
find_clusters) - Read-only — doesn’t modify any memories
- Useful for understanding the graph’s natural structure
- Results can inform
organizecalls
Related Tools
Section titled “Related Tools”- find_clusters — Similarity-based grouping
- organize — Act on discovered communities
- graph — View individual memory neighborhoods