DataWorks MCP Server

Official

ExecuteAdhocWorkflowInstance

Run ad-hoc workflow instances on DataWorks MCP Server to dynamically manage tasks, dependencies, and resources for project-specific operations without predefined workflows.

Instructions

执行临时工作流实例 *此Tool有MCP Resource,请查看ExecuteAdhocWorkflowInstance(MCP Resource)获取更多使用此Tool的示例详情。

Input Schema

NameRequiredDescriptionDefault
BizDateNo业务日期。格式为时间戳
EnvTypeNo项目环境。- Prod:生产- Dev:开发
NameYes名称
OwnerYes责任人的账号ID
ProjectIdNo项目ID
TasksYes任务列表

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "BizDate": { "description": "业务日期。格式为时间戳" }, "EnvType": { "description": "项目环境。- Prod:生产- Dev:开发", "type": "string" }, "Name": { "description": "名称", "type": "string" }, "Owner": { "description": "责任人的账号ID", "type": "string" }, "ProjectId": { "description": "项目ID" }, "Tasks": { "description": "任务列表", "items": { "additionalProperties": false, "properties": { "ClientUniqueCode": { "description": "任务的客户端唯一码,用来唯一标识一个任务", "type": "string" }, "DataSource": { "additionalProperties": false, "description": "关联数据源信息", "properties": { "Name": { "description": "数据源名称", "type": "string" } }, "type": "object" }, "Dependencies": { "description": "依赖信息", "items": { "additionalProperties": false, "properties": { "UpstreamOutput": { "description": "依赖任务的输出标识符", "type": "string" } }, "type": "object" }, "type": "array" }, "Inputs": { "additionalProperties": false, "description": "输入信息", "properties": { "Variables": { "description": "变量定义列表", "items": { "additionalProperties": false, "properties": { "Name": { "description": "变量名称", "type": "string" }, "Value": { "description": "变量值。请以`上游任务Output:上游任务输出变量名`的格式来填写", "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "Name": { "description": "任务的名称", "type": "string" }, "Outputs": { "additionalProperties": false, "description": "输出信息", "properties": { "TaskOutputs": { "description": "任务输出定义列表", "items": { "additionalProperties": false, "properties": { "Output": { "description": "输出标识符", "type": "string" } }, "type": "object" }, "type": "array" }, "Variables": { "description": "变量定义列表", "items": { "additionalProperties": false, "properties": { "Name": { "description": "变量名称", "type": "string" }, "Type": { "description": "类型。-System-Constant-NodeOutput-PassThrough", "type": "string" }, "Value": { "description": "变量值", "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "Owner": { "description": "责任人的账号ID", "type": "string" }, "RuntimeResource": { "additionalProperties": false, "description": "运行环境配置,如资源组信息", "properties": { "Cu": { "description": "任务运行配置CU消耗", "type": "string" }, "Image": { "description": "任务运行配置的镜像ID", "type": "string" }, "ResourceGroupId": { "description": "任务运行配置的调度资源组标识符", "type": "string" } }, "required": [ "ResourceGroupId" ], "type": "object" }, "Script": { "additionalProperties": false, "description": "运行脚本信息", "properties": { "Content": { "description": "脚本内容", "type": "string" }, "Parameters": { "description": "脚本参数列表", "type": "string" } }, "type": "object" }, "Timeout": { "description": "任务执行超时时间,单位为秒" }, "Type": { "description": "任务类型", "type": "string" } }, "required": [ "Name", "Type", "Owner", "RuntimeResource", "ClientUniqueCode" ], "type": "object" }, "type": "array" } }, "required": [ "Name", "Owner", "Tasks" ], "type": "object" }

You must be authenticated.

Other Tools from DataWorks MCP Server

Related Tools

ID: 5xvvskonjr