Add a knowledge document
dosai_add_knowledge_textAdd a text document to the knowledge base (a price list, services, answers). The bot starts using it within a minute. To replace an outdated document, add the new one and switch the old one off with dosai_update_knowledge_document. Requires editor role.
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": {
"project_id": "<project_id>",
"name": "<name>",
"content": "<content>"
},
"name": "dosai_add_knowledge_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short clear name, e.g. "Price list". | |
| content | Yes | The full text. | |
| project_id | Yes | From dosai_list_projects. |