add_chatbot_content
Add knowledge to a chatbot. Does not spend credits. content_type is text, url, sitemap, or article. Text and articles are pasted in. url and sitemap are crawled in the background. Poll chatbot_status until training is complete.
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": {
"chatbot_id": "<chatbot_id>",
"content_type": "<content_type>"
},
"name": "add_chatbot_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Required when content_type is url or sitemap. | |
| title | No | ||
| content | No | Required when content_type is text. | |
| article_id | No | Content Writer article in this project. Required when content_type is article. | |
| chatbot_id | Yes | ||
| content_type | Yes |