Delete a chatbot knowledge source
delete_chatbot_knowledgeIRREVERSIBLE: Delete a chatbot knowledge source
Removes one knowledge source from a chatbot: the entry is deleted and the chatbot no longer draws on the document. The indexed document is deleted from the voice engine as well, unless another entry or another agent still uses it. The chatbot must be one the key may use and the entry must belong to this chatbot, otherwise the request is rejected with 404, so a repeated call answers 404. A failure in the voice engine is logged and does not stop the local deletion. This endpoint takes no request body.
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": {
"chatbotId": "<chatbotId>",
"knowledgeId": "<knowledgeId>"
},
"name": "delete_chatbot_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. | |
| chatbotId | Yes | Numeric identifier of the chatbot. | |
| knowledgeId | Yes | Identifier of the knowledge entry to remove. |