knowledge_get_chunks_count
Retrieve the total number of chunks in a knowledge base datasource by its IDs to verify indexing volume and monitor content size.
Instructions
Get total chunk count
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": {
"knowledge_id": "<knowledge_id>",
"datasource_id": "<datasource_id>"
},
"name": "knowledge_get_chunks_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| knowledge_id | Yes | Knowledge base ID or key | |
| datasource_id | Yes | Datasource ID |