ds_run_workflow
Trigger a DolphinScheduler workflow run, bring it online first, and optionally start from selected tasks with alert configuration.
Instructions
Manually trigger a workflow run (brings it online first).
Args: project_name: Project name workflow_code: Process-definition code start_task_names: Optional list of task names to start from (including their downstream tasks). Leave empty to run the entire workflow. Example: ["partition_check"] starts from that task and all its successors. warning_type: NONE, SUCCESS, FAILURE (default) or ALL warning_group_id: Alert group ID; positive when alerts are enabled
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": {
"project_name": "<project_name>",
"workflow_code": "<workflow_code>"
},
"name": "ds_run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| warning_type | No | FAILURE | |
| workflow_code | Yes | ||
| start_task_names | No | ||
| warning_group_id | No |