microcms_patch_content_status
Change content publication status between published and draft in microCMS. Supports transitions from published to draft and vice versa.
Instructions
Change content publication status in microCMS (Management API). Can change status between PUBLISH (published) and DRAFT (draft). Note: Only transitions between "published" and "draft" are supported.
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": {
"endpoint": "<endpoint>",
"contentId": "<contentId>",
"status": "<status>"
},
"name": "microcms_patch_content_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Target status: "PUBLISH" to publish content, "DRAFT" to set as draft | |
| endpoint | Yes | Content type name (e.g., "blogs", "news") | |
| contentId | Yes | Content ID to change status | |
| serviceId | No | Service ID (required in multi-service mode, optional in single-service mode) |