Unpublish a knowledge document
unpublish_knowledge_documentTurn a published article back into a draft: Aide Chat's public help section hides it and Aide stops answering from it. Snippets can't be unpublished; to keep any document out of answers, set usedByAide to false with update_knowledge_article. Returns the document.
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": {
"documentId": "<documentId>"
},
"name": "unpublish_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The knowledge document id, from list_knowledge_documents or search_knowledge. |