DataWorks MCP Server

Official

ListTasks

Retrieve and manage task lists in DataWorks MCP Server by filtering tasks based on ID, name, owner, type, or project details. Supports sorting and pagination for efficient task organization.

Instructions

获取任务列表

Input Schema

NameRequiredDescriptionDefault
IdsNo任务的ID列表,可根据任务Id批量查询任务
NameNo名称,支持模糊查询
OwnerNo任务的责任人的账号ID
PageNumberNo页码,从1开始,默认为1
PageSizeNo每页的条目数,默认为10
ProjectEnvNo项目环境
ProjectIdNo项目ID
RuntimeResourceNo资源组信息,这里请填入调度资源组标识符
SortByNo排序字段。支持修改时间、创建时间等字段,格式为"排序字段+排序方式(Desc/Asc)"(Asc可以缺省)。排序字段的枚举值如下:- `ModifyTime (Desc/Asc)`- `CreateTime (Desc/Asc)`- `Id (Desc/Asc)` 默认值:`Id Desc`
TaskTypeNo任务类型。例如:- ODPS_SQL- SPARK- PY_ODPS- PY_ODPS3- ODPS_SCRIPT- ODPS_MR- COMPONENT_SQL- EMR_HIVE- EMR_MR- EMR_SPARK_SQL- EMR_SPARK- EMR_SHELL- EMR_PRESTO- EMR_IMPALA- SPARK_STREAMING- EMR_KYUUBI- EMR_TRINO- HOLOGRES_SQL- HOLOGRES_SYNC_DDL- HOLOGRES_SYNC_DATA
TriggerRecurrenceNo触发时的运行模式,TriggerType=Scheduler时生效
TriggerTypeNo触发方式类型
WorkflowIdNo所属工作流的ID

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "Ids": { "description": "任务的ID列表,可根据任务Id批量查询任务", "type": "array" }, "Name": { "description": "名称,支持模糊查询", "type": "string" }, "Owner": { "description": "任务的责任人的账号ID", "type": "string" }, "PageNumber": { "description": "页码,从1开始,默认为1" }, "PageSize": { "description": "每页的条目数,默认为10" }, "ProjectEnv": { "description": "项目环境", "type": "string" }, "ProjectId": { "description": "项目ID" }, "RuntimeResource": { "description": "资源组信息,这里请填入调度资源组标识符", "type": "string" }, "SortBy": { "description": "排序字段。支持修改时间、创建时间等字段,格式为\"排序字段+排序方式(Desc/Asc)\"(Asc可以缺省)。排序字段的枚举值如下:- `ModifyTime (Desc/Asc)`- `CreateTime (Desc/Asc)`- `Id (Desc/Asc)` 默认值:`Id Desc`", "type": "string" }, "TaskType": { "description": "任务类型。例如:- ODPS_SQL- SPARK- PY_ODPS- PY_ODPS3- ODPS_SCRIPT- ODPS_MR- COMPONENT_SQL- EMR_HIVE- EMR_MR- EMR_SPARK_SQL- EMR_SPARK- EMR_SHELL- EMR_PRESTO- EMR_IMPALA- SPARK_STREAMING- EMR_KYUUBI- EMR_TRINO- HOLOGRES_SQL- HOLOGRES_SYNC_DDL- HOLOGRES_SYNC_DATA", "type": "string" }, "TriggerRecurrence": { "description": "触发时的运行模式,TriggerType=Scheduler时生效", "type": "string" }, "TriggerType": { "description": "触发方式类型", "type": "string" }, "WorkflowId": { "description": "所属工作流的ID" } }, "type": "object" }

You must be authenticated.

Other Tools from DataWorks MCP Server

Related Tools

ID: 5xvvskonjr