创建数据开发节点 *This Tool has a 'MCP Resource',please request CreateNode(MCP Resource) to get more examples for using this tool.
AI agents use CreateNode 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 |
|---|---|---|---|
Spec | string | Yes | { "title": "CycleWorkflow Schema", "description": "定义周期性工作流及其节点配置的JSON Schema", "type": "object", "required": ["version", "kind", "spec"], "prope |
Scene | string | Yes | 节点创建的场景,决定节点创建在手动节点区域还是数据开发区域。DataworksManualWorkflow只在填写了ContainerId且Container为手动工作流时才能使用。可选值:- DATAWORKS_PROJECT 项目目录- DATAWORKS_MANUAL_WORKFLOW 手动工作流- DATAWO |
ProjectId | number | Yes | DataWorks工作空间的ID |
ContainerId | number | — | 当你需要将节点创建在一个容器内部时,你需要指定这个参数。该参数为一个容器的唯一标识,这个容器可以是一个Workflow或者一个容器节点。><notice>该参数填写后,FlowSpec中定义的path字段将无效></notice> |
Parameters from the server's own tool schema.
An AI agent can call CreateNode 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.
Attacks that exploit this kind of access
创建数据开发节点 *This Tool has a 'MCP Resource',please request CreateNode(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.
CreateNode accepts 4 parameters: Spec, Scene, ProjectId, ContainerId. Required: Spec, Scene, ProjectId. 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 CreateNode: 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.
CreateNode 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 CreateNode 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 CreateNode. 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.
CreateNode 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.