Write Create Process Definition
write_create_process_definitionCreates a DolphinScheduler workflow (process definition) from project code, node coordinates, task relations, and task definitions so AI agents can define new DAGs.
Instructions
createProcessDefinition
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": {
"projectCode": "<projectCode>",
"name": "<name>",
"locations": "<locations>",
"taskRelationJson": "<taskRelationJson>",
"taskDefinitionJson": "<taskDefinitionJson>"
},
"name": "write_create_process_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 流程定义名称 | |
| timeout | No | ||
| locations | Yes | 流程定义节点坐标位置信息(json格式) | |
| description | No | 流程定义描述信息 | |
| projectCode | Yes | 路径参数 projectCode | |
| globalParams | No | ||
| executionType | No | ||
| otherParamsJson | No | OTHER_PARAMS_JSON | |
| taskRelationJson | Yes | ||
| taskDefinitionJson | Yes |