Find clusters of similar experiences
consolidateCluster similar past episodes into groups and generate one generalized rule per cluster to capture the underlying lesson. Read-only consolidation for learning from experience.
Instructions
Deterministic clustering of episodes that look like the same underlying lesson. For each cluster, write ONE record with kind='rule' that generalises them. Read-only; nothing is changed by this call.
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": "consolidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_size | No | Minimum cluster size to report (default 3) | |
| threshold | No | Cosine similarity to cluster at (default 0.8) |