create_workflow_custom_event
Create custom events for workflow catalogs with validated payload types and user confirmation.
Instructions
Create a Workflow Catalog Custom Event. Show a preview of the event configuration and ask for user confirmation before proceeding. Only create the event after explicit confirmation from user (confirm=True) This tool validates payload item types against allowed values and requires explicit user confirmation before creating the event.
Args: - displayable: Event display name - desc: Event description - categoryId: Event category identifier - payload: List of payload items. Each item must have {name, type, desc} and type must be one of: Text, MultilineText, TextArray, DynamicTextArray, Number, File, Boolean, Json - eventType: Event type. Default: "CUSTOM_EVENT" - confirm: Boolean flag. If False, will show a preview for user confirmation. Only returns True after user explicitly accepts the preview. Returns: - Success or error message
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": {
"displayable": "<displayable>",
"desc": "<desc>",
"payload": "<payload>"
},
"name": "create_workflow_custom_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayable | Yes | ||
| desc | Yes | ||
| payload | Yes | ||
| categoryId | No | 7 | |
| eventType | No | CUSTOM_EVENT | |
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |