list_knowledge_chunks
Retrieve text segments (chunks) from a knowledge store for RAG retrieval, with optional pagination, filtering by text or source.
Instructions
Lists knowledge chunks in a Cognigy.AI knowledge store. Chunks are the actual text segments used for RAG retrieval, created by splitting source documents.
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": {
"knowledgeStoreId": "<knowledgeStoreId>"
},
"name": "list_knowledge_chunks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of items to skip for pagination | |
| limit | No | Maximum number of chunks to return (default: 25, max: 100) | |
| filter | No | Filter chunks by text content | |
| sourceId | No | Filter chunks by source ID | |
| knowledgeStoreId | Yes | The knowledge store ID to list chunks from |