strapi_publish_event
Publish or unpublish events in Strapi CMS by specifying the document ID and publication status.
Instructions
Publish or unpublish an event
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_id": "<document_id>"
},
"name": "strapi_publish_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Event document ID | |
| publish | No | true to publish, false to unpublish |