code_clusters
Cluster code elements by directory proximity and vector similarity to reveal module boundaries and related code groups. Specify type (function, class, file) to get clusters with member counts and samples.
Instructions
Cluster code elements by directory proximity and vector similarity. Requires type (function | class | file). Returns clusters with member counts and samples — useful for understanding module boundaries and finding groups of related code. Depends on Qdrant embeddings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Code type to cluster | |
| count | No | Number of clusters | |
| profile | No | Response profile | compact |