Refresh a chatbot knowledge source
refresh_chatbot_knowledgeRefresh a chatbot knowledge source
Re-reads a URL knowledge source from its source page immediately and replaces the stored content with what the page says now. Website sources are also re-read on a schedule, so this is for the case where a page changed and the chatbot should know about it at once. Only entries of type url can be refreshed; text and file entries are rejected with 400. The entry must belong to this chatbot and to the account behind the key, otherwise the request is rejected with 404. 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": "refresh_chatbot_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatbotId | Yes | Numeric identifier of the chatbot. | |
| knowledgeId | Yes | Identifier of the knowledge entry to refresh. |