Edit the text of a knowledge document
dosai_edit_knowledge_documentChange the text of a knowledge base document, e.g. a price. First read it with dosai_read_knowledge_document, then send ALL its pieces in the same order with only the needed ones changed: a piece left out is deleted. The bot uses the new text within a minute. 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>",
"pieces": "<pieces>"
},
"name": "dosai_edit_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pieces | Yes | Every piece of the document, in order, as the bot should read it now. | |
| project_id | Yes | From dosai_list_projects. | |
| document_id | Yes | From dosai_list_knowledge. |