CreateDIJob

创建数据集成同步任务 *This Tool has a 'MCP Resource',please request CreateDIJob(MCP Resource) to get more examples for using this tool.

Server Alibabacloud Dataworks alibabacloud-dataworks-mcp-server
Category Write
Risk class Medium
Parameters 125 required

What CreateDIJob does on Alibabacloud Dataworks

AI agents use CreateDIJob to create or update resources in Alibabacloud Dataworks — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Alibabacloud Dataworks environment.

ParameterTypeRequiredDescription
Name string 任务名称
JobName string 该字段已废弃,请使用Name字段
JobType string 任务类型,可选-DatabaseRealtimeMigration(整库实时):将源端多个库的多个表进行流同步,支持仅全量,仅增量,或全量+增量。-DatabaseOfflineMigration(整库离线):将源端多个库的多个表进行批同步,支持仅全量,仅增量,或全量+增量。-SingleTableRealtimeMi
ProjectId number DataWorks工作空间的ID
Description string 任务的描述
JobSettings object 同步任务维度的设置,含DDL处理策略、源端和目标端列数据类型映射策略、任务运行时参数等
MigrationType string Yes 同步类型,可选的枚举值有:- FullAndRealtimeIncremental(全量和实时增量,整库实时)- RealtimeIncremental(实时增量,单表实时)- Full(全量,整库离线)- OfflineIncremental(离线增量,整库离线)- FullAndOfflineIncremental
TableMappings array Yes 同步对象转换映射列表,列表中每个元素描述了一组源端同步对象选择规则列表和在该组同步对象上应用的同步对象转换规则列表。>[{"SourceObjectSelectionRules":[{"ObjectType":"Database","Action":"Include","ExpressionType":"Exact",
ResourceSettings object Yes 资源设置
TransformationRules array 同步对象转换规则定义列表。>[{"RuleName":"my_database_rename_rule","RuleActionType":"Rename","RuleTargetType":"Schema","RuleExpression":"{\"expression\":\"${srcDatasoureName}
SourceDataSourceType string Yes 源端数据源类型,枚举值: PolarDB,MySQL,Kafka,LogHub,Hologres,Oracle,OceanBase,MongoDB,RedShift,Hive,SQLServer,Doris,ClickHouse
SourceDataSourceSettings array Yes 源端数据源设置列表

Parameters from the server's own tool schema.

Why CreateDIJob needs a policy

An AI agent can call CreateDIJob faster than any human can review — one bad instruction and it creates or modifies resources in Alibabacloud Dataworks by the hundred, each call as confident as the last.

Risk signalsAccepts freeform code/query input (TableMappings[].SourceObjectSelectionRules[].Expression) · High parameter count (54 properties)

Questions about CreateDIJob

What does the CreateDIJob tool do? +

创建数据集成同步任务 *This Tool has a 'MCP Resource',please request CreateDIJob(MCP Resource) to get more examples for using this tool. It is categorised as a Write tool in the Alibabacloud Dataworks MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does CreateDIJob accept? +

CreateDIJob accepts 12 parameters: Name, JobName, JobType, ProjectId, Description, JobSettings, MigrationType, TableMappings, ResourceSettings, TransformationRules, SourceDataSourceType, SourceDataSourceSettings. Required: MigrationType, TableMappings, ResourceSettings, SourceDataSourceType, SourceDataSourceSettings. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on CreateDIJob? +

Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for CreateDIJob: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Alibabacloud Dataworks. Nothing to install.

What risk level is CreateDIJob? +

CreateDIJob is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit CreateDIJob? +

Yes. Add a rate_limit block to the CreateDIJob rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block CreateDIJob completely? +

Set action: deny in the PolicyLayer policy for CreateDIJob. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides CreateDIJob? +

CreateDIJob is provided by the Alibabacloud Dataworks MCP server (alibabacloud-dataworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.