memory_communities
Detects densely-connected entity clusters via label propagation, returning top entities and linked memories to synthesize named themes and reveal the main patterns across the corpus.
Instructions
GraphRAG global sensemaking (agent-driven, no LLM in the server). Detects communities (densely-connected entity clusters) over the entity graph on demand via weighted label propagation, and returns each community's top entities + linked memories. This is the corpus-level view that chunk-level search can't give — synthesize named themes from the communities to answer "what are the main themes?".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_communities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum communities to return, largest first (default 20) | |
| min_size | No | Drop communities with fewer than this many entities (default 1) |