ds_clone_workflow
Clone a workflow with a new name and optional description, then optionally auto-release it after copying. Duplicate existing DAG logic in a project without rebuilding it from scratch.
Instructions
Clone/copy a workflow.
Args: project_name: Project name source_workflow_code: Source workflow code new_name: New workflow name description: New workflow description (empty = copy source description) auto_online: Auto-release after cloning
Returns: { 'success': True, 'workflow_code': int, # New workflow code 'source_code': int, 'name': str, ... }
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>",
"source_workflow_code": "<source_workflow_code>",
"new_name": "<new_name>"
},
"name": "ds_clone_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| auto_online | No | ||
| description | No | ||
| project_name | Yes | ||
| source_workflow_code | Yes |