Switch or rename a knowledge document
dosai_update_knowledge_documentSwitch a knowledge document on or off, rename it, or make it always attached to every answer. The text itself cannot be edited here: add a new document instead. 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>",
"document_id": "<document_id>"
},
"name": "dosai_update_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| is_active | No | false = the bot stops using it. | |
| project_id | Yes | From dosai_list_projects. | |
| document_id | Yes | From dosai_list_knowledge. | |
| always_include | No | true = attached to every answer (for short key facts only). |