knowledge_update_chunk
Update a knowledge base chunk’s text or JSON metadata by knowledge, datasource, and chunk ID to keep stored content accurate and current.
Instructions
Update a chunk
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>",
"chunk_id": "<chunk_id>"
},
"name": "knowledge_update_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New text | |
| chunk_id | Yes | Chunk ID | |
| knowledge_id | Yes | Knowledge base ID or key | |
| datasource_id | Yes | Datasource ID | |
| metadata_json | No | New JSON metadata |