create_knowledge_chunk
Add specific text segments to a Cognigy.AI knowledge store as searchable chunks for RAG. Set dryRun=false to create.
Instructions
Creates a new Cognigy.AI knowledge chunk manually. Use this to add specific text segments that should be searchable via RAG. The chunk will be embedded automatically. MUTATING: Set dryRun=false to create.
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>",
"sourceId": "<sourceId>",
"text": "<text>"
},
"name": "create_knowledge_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text content of the chunk | |
| title | No | Title for the chunk | |
| dryRun | No | If true (default), validates without creating. Set to false to actually create. | |
| metadata | No | Custom metadata for the chunk | |
| sourceId | Yes | The source ID to associate the chunk with | |
| knowledgeStoreId | Yes | The knowledge store ID to create the chunk in |