unpublish_entry
Revert a published entry to draft status to hide it from the live site while keeping the content editable. Use this to temporarily remove content without deleting it.
Instructions
Revert a published entry to draft status — removes it from the live website but keeps the content for editing. Use when the user wants to temporarily hide content without deleting it.
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": {
"content_type": "<content_type>"
},
"name": "unpublish_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Locale code | |
| document_id | No | Document ID (required for collection types) | |
| content_type | Yes | Content type UID |