get_cluster_documents
Retrieve all documents within a specific cluster, including their distances from the centroid, to see which documents are grouped together.
Instructions
Get all documents in a specific cluster, including distances from centroid. Shows which documents are grouped together.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>"
},
"name": "get_cluster_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | Cluster ID | |
| algorithm | No | Clustering algorithm: 'kmeans', 'dbscan', or 'hdbscan' (optional) | |
| max_results | No | Maximum documents to return (default: 50) |