get_collection_stats
Retrieve document, chunk, and token counts for a single collection to assess its size and content coverage before searching or maintaining the knowledge base.
Instructions
Document, chunk and token counts for one collection.
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": {
"collection_id": "<collection_id>"
},
"name": "get_collection_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | Collection ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |