Moderation State Create
moderation_state_createCreate a new Drupal moderation state within a workflow by specifying state ID, label, and default status. Use it to add custom states for content moderation.
Instructions
Create a new moderation state.
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": {
"workflow_id": "<workflow_id>",
"state_id": "<state_id>",
"label": "<label>"
},
"name": "moderation_state_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| weight | No | ||
| state_id | Yes | ||
| is_default | No | ||
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||