cdp_invoke_workflow_action
Execute workflow actions like scheduling, publishing, or activating in the CDP MCP Server to manage automation tasks beyond basic execution.
Instructions
Invoke an arbitrary action on a workflow. This is the generic escape hatch for action verbs that cdp_run_workflow does not support (it only sends action=run). Common verbs observed in the Vega/Config UI:
'schedule' / 'unschedule' — arm/disarm a schedule on AIF_RUNNER, REPORT_RUNNNER_DEFAULT, DATA_EXPORT_DEFAULT, etc. Requires schedule_id.
'activate_schedule' / 'deactivate_schedule' — toggle an existing schedule without deleting the row (also exposed via cdp_activate_schedule / cdp_deactivate_schedule).
'publish' / 'unpublish' — connector lifecycle via CONNECTOR_OPS_DEFAULT. Requires entity_type='connector' + entity_id.
'run' — alias of cdp_run_workflow, kept for completeness.
bodyis an optional JSON string for workflows that need a payload.
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>",
"action": "<action>"
},
"name": "cdp_invoke_workflow_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| action | Yes | ||
| entity_type | No | ||
| entity_id | No | ||
| schedule_id | No | ||
| version | No | ||
| body | No | ||
| tenant_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |