Unpublish document
unpublish_documentArchives a document: removes its public .md URL and its llms.txt entry. Content is kept and can be published again. On this account the call is refused until user_approved is true.
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": {
"slug": "<slug>"
},
"name": "unpublish_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code, e.g. en, pl. Defaults to the site language. | |
| site | No | Site domain, e.g. example.com. Optional when the account has one site. | |
| slug | Yes | Document slug | |
| user_approved | No | True only after the user has seen this exact change in the chat and agreed to it. |