publish_documents
Publish reviewed, fully processed documents to make them searchable and available to the live assistant; set documents back to draft or unpublished when needed.
Instructions
Publish documents (or set them back to draft / unpublished). New documents start as drafts: only published documents are searchable and used by the live assistant, so publish after the user has reviewed them. Documents must have finished processing.
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": {
"document_ids": "<document_ids>"
},
"name": "publish_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | published (default), draft or unpublished | published |
| document_ids | Yes | Document IDs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |