Execute Workflow Transition
plone_transition_workflowExecutes a workflow transition like 'publish' on a Plone content item, changing its state. Provide the path and transition.
Instructions
Changes the workflow state of a content item by executing a specific transition, like 'publish' or 'submit'. Example: plone_transition_workflow({path: '/my-document', transition: 'publish'})
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": {
"path": "<path>",
"transition": "<transition>"
},
"name": "plone_transition_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the content | |
| transition | Yes | Workflow transition to execute | |
| comment | No | Comment for the transition |