knowledge_create_chunks
Create text chunks for a datasource in a knowledge base by supplying JSON entries with text and metadata, enabling structured content storage and retrieval.
Instructions
Create chunks for a datasource
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>",
"chunks_json": "<chunks_json>"
},
"name": "knowledge_create_chunks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunks_json | Yes | JSON array: [{text, metadata}] | |
| knowledge_id | Yes | Knowledge base ID or key | |
| datasource_id | Yes | Datasource ID |