更新数据集成同步任务 *This Tool has a 'MCP Resource',please request UpdateDIJob(MCP Resource) to get more examples for using this tool.
AI agents use UpdateDIJob 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
Id | string | number | — | 任务ID |
DIJobId | number | — | 该字段已废弃,请使用Id字段 |
ProjectId | number | — | DataWorks工作空间ID |
Description | string | — | 任务的描述 |
JobSettings | object | — | 同步任务维度的设置,含DDL处理策略、源端和目标端列数据类型映射策略、任务运行时参数等 |
TableMappings | array | — | 同步对象转换映射列表,列表中每个元素描述了一组源端同步对象选择规则列表和在该组同步对象上应用的同步对象转换规则列表。>[{"SourceObjectSelectionRules":[{"ObjectType":"Database","Action":"Include","ExpressionType":"Exact", |
ResourceSettings | object | — | 资源设置,必填这个ResourceSettings参数 |
TransformationRules | array | — | 同步对象转换规则定义列表。>[{"RuleName":"my_database_rename_rule","RuleActionType":"Rename","RuleTargetType":"Schema","RuleExpression":"{\"expression\":\"${srcDatasoureName} |
Parameters from the server's own tool schema.
An AI agent can call UpdateDIJob 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 (42 properties)
Attacks that exploit this kind of access
更新数据集成同步任务 *This Tool has a 'MCP Resource',please request UpdateDIJob(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.
UpdateDIJob accepts 8 parameters: Id, DIJobId, ProjectId, Description, JobSettings, TableMappings, ResourceSettings, TransformationRules. The full parameter table on this page comes from the server's own tool schema.
Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for UpdateDIJob: 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.
UpdateDIJob is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the UpdateDIJob 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.
Set action: deny in the PolicyLayer policy for UpdateDIJob. 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.
UpdateDIJob 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.