memory_clusters
Detect clusters of related memories using similarity scores, with configurable minimum size and threshold. Choose connected components or Louvain to reveal groups of connected memories and common tags.
Instructions
Detect clusters of related memories.
Args: min_cluster_size: Minimum memories to form a cluster (default: 2) min_score: Minimum similarity score to consider connected (default: 0.3) algorithm: "connected_components" (default) or "louvain" Louvain uses embedding similarity for content-based clustering.
Returns: List of clusters with member IDs, sizes, and common tags
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_clusters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | No | connected_components | |
| min_score | No | ||
| min_cluster_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |