docs_get_clusters
Fetch topic clusters from a domain's raw chunks to organize content before synthesis. Returns cluster data for Claude Code to generate articles inline, with no API key needed.
Instructions
Get topic clusters from a domain's raw chunks WITHOUT synthesizing articles. Returns cluster content for Claude Code to synthesize inline (no API key needed). Use with docs_ingest_text to store the synthesized articles.
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": {
"domain": "<domain>"
},
"name": "docs_get_clusters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| maxClusters | No | Max clusters to generate (default 20) | |
| clusterIndex | No | Return only this cluster index (0-based). Omit to get a summary of all clusters. | |
| clusterThreshold | No | Cosine similarity threshold for merging clusters (0.5-0.95, default 0.85). Higher = more granular clusters. |